]> err.no Git - util-linux/commitdiff
hwclockfirst: more LSB init cleanup
authorLaMont Jones <lamont@debian.org>
Sun, 6 Jan 2008 16:54:17 +0000 (09:54 -0700)
committerLaMont Jones <lamont@debian.org>
Sun, 6 Jan 2008 19:49:47 +0000 (12:49 -0700)
Addresses-Debian-Bug: 458346
Signed-off-by: LaMont Jones <lamont@debian.org>
debian/rules

index 4af971eb2bb3fb244b5ffe264893ad687acaed2d..0d221dd8a3accfec317a1b2f184a4939b1561ce2 100755 (executable)
@@ -105,7 +105,8 @@ endif
        if [ -f debian/util-linux/sbin/hwclock ] ; then \
            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 -ie '/^FIRST=/s/no/yes/' -e '/Provides:/s/ck/ckfirst/' debian/util-linux/etc/init.d/hwclockfirst.sh; \
+           sed -i -e '/^FIRST=/s/no/yes/' -e '/Provides:/s/ck/ckfirst/' \
+               -e '/Required-Stop/s/.local_fs/umountfs/' debian/util-linux/etc/init.d/hwclockfirst.sh; \
        fi
 ifneq ($(DISTRO),Debian)
        if [ -f debian/util-linux/sbin/hwclock ] ; then \