From: LaMont Jones Date: Sun, 6 Jan 2008 16:54:17 +0000 (-0700) Subject: hwclockfirst: more LSB init cleanup X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ddf8d86b08d6878d89cc976916ec432a501c092;p=util-linux hwclockfirst: more LSB init cleanup Addresses-Debian-Bug: 458346 Signed-off-by: LaMont Jones --- diff --git a/debian/rules b/debian/rules index 4af971eb..0d221dd8 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \