Use the better 15-disable-hwclock used for Ubuntu also for Debian (Closes: #588880)
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user