diff options
author | Kel Modderman <kel@otaku42.de> | 2009-08-13 05:51:57 -0600 |
---|---|---|
committer | LaMont Jones <lamont@debian.org> | 2009-08-13 05:51:57 -0600 |
commit | 17441f35ef5e1b7d8a1f3feefc1fd4c4f800072c (patch) | |
tree | 1b0a25c26a14b8e372ad5ac2f066e7d24ae10e00 /debian | |
parent | e33a1af6585169942defd139bbdf172445c44cbe (diff) | |
download | util-linux-old-17441f35ef5e1b7d8a1f3feefc1fd4c4f800072c.tar.gz |
hwclockfirst.sh: initscript LSB header in conflict with update-rc.d options
hwclockfirst should start before checkroot, followed by hwclock as far as I
understand. This is not represented in the current dependency information,
hwlockfirst and hwclock both only require mountdevsubfs to have started, thus
they are started at same sequence in dependency based boot.
Addresses-Debian-Bug: 487196
Signed-off-by: LaMont Jones <lamont@debian.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/hwclock.sh | 2 | ||||
-rwxr-xr-x | debian/rules | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/hwclock.sh b/debian/hwclock.sh index 80b17bc4..40eea8c0 100644 --- a/debian/hwclock.sh +++ b/debian/hwclock.sh @@ -18,7 +18,7 @@ ### BEGIN INIT INFO # Provides: hwclock -# Required-Start: mountdevsubfs +# Required-Start: $local_fs # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 6 diff --git a/debian/rules b/debian/rules index 6e099eaf..e91e7840 100755 --- a/debian/rules +++ b/debian/rules @@ -107,6 +107,7 @@ endif install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclock.sh; \ install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclockfirst.sh; \ sed -i -e '/^FIRST=/s/no/yes/' -e '/Provides:/s/ck/ckfirst/' \ + -e '/Required-Start:/s/.local_fs/mountdevsubfs/' \ -e '/Required-Stop:/s/.local_fs/umountroot/' \ -e '/Default-Start:/a# Default-Stop:' -e '/Default-Stop:/d' \ debian/util-linux/etc/init.d/hwclockfirst.sh; \ |