From 0ddf8d86b08d6878d89cc976916ec432a501c092 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Sun, 6 Jan 2008 09:54:17 -0700 Subject: [PATCH] hwclockfirst: more LSB init cleanup Addresses-Debian-Bug: 458346 Signed-off-by: LaMont Jones --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.39.5