1
0
mirror of synced 2026-04-30 13:51:42 +00:00

Use the better 15-disable-hwclock used for Ubuntu also for Debian (Closes: #588880)

This commit is contained in:
Axel Beckert
2010-08-03 13:49:38 +02:00
parent f6518986a3
commit 75b0d5eeb5
2 changed files with 4 additions and 15 deletions

2
debian/changelog vendored
View File

@@ -4,6 +4,8 @@ xen-tools (4.2~beta2-1) UNRELEASED; urgency=low
- Uses GeoIP for Debian mirrors: Default Debian mirror is now
cdn.debian.net, see http://wiki.debian.org/DebianGeoMirror for
details.
- Uses the same 15-disable-hwclock hook for Debian as for Ubuntu DomUs
(Closes: #588880)
-- Axel Beckert <abe@debian.org> Wed, 02 Jun 2010 18:10:34 +0200

View File

@@ -29,23 +29,10 @@ logMessage Script $0 starting
#
# Disable the startup scripts from all runlevels.
#
if [ -x ${prefix}/etc/init.d/hwclock.sh ]; then
chmod -x ${prefix}/etc/init.d/hwclock.sh
else
logMessage "/etc/init.d/hwclock.sh not found. skipping."
fi
if [ -x ${prefix}/etc/init.d/hwclockfirst.sh ]; then
chmod -x ${prefix}/etc/init.d/hwclockfirst.sh
else
logMessage "/etc/init.d/hwclockfirst.sh not found. skipping."
fi
chroot ${prefix} /usr/sbin/update-rc.d -f hwclock.sh remove
#
# Log our finish
#
logMessage Script $0 finished.