From 526a7a0a084011a1550dce5e50d04d3e367e7928 Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 22 Oct 2006 18:07:22 +0000 Subject: [PATCH] 2006-10-22 18:07:22 by steve Updated to remove the init script rather than remove permissions. --- hooks/ubuntu/15-disable-hwclock | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hooks/ubuntu/15-disable-hwclock b/hooks/ubuntu/15-disable-hwclock index 132f4da..74556ac 100755 --- a/hooks/ubuntu/15-disable-hwclock +++ b/hooks/ubuntu/15-disable-hwclock @@ -29,12 +29,10 @@ logMessage Script $0 starting # # Disable the startup scripts from all runlevels. # -chmod -x ${prefix}/etc/init.d/hwclock.sh -chmod -x ${prefix}/etc/init.d/hwclockfirst.sh - - +chroot ${prefix} /usr/sbin/update-rc.d -f hwclock.sh remove # # Log our finish # -logMessage Script $0 finished. \ No newline at end of file +logMessage Script $0 finished. +