[Pkg-sysvinit-commits] r1001 - in sysvinit/trunk/debian: .
initscripts/etc/init.d
Petter Reinholdtsen
pere at costa.debian.org
Mon Oct 2 09:20:54 UTC 2006
Author: pere
Date: 2006-10-02 09:20:53 +0000 (Mon, 02 Oct 2006)
New Revision: 1001
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
Log:
* Fix calls to fuser in umountnfs.sh. Thanks to Frank Mehnert for the
tip.
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2006-10-01 18:04:03 UTC (rev 1000)
+++ sysvinit/trunk/debian/changelog 2006-10-02 09:20:53 UTC (rev 1001)
@@ -1,3 +1,10 @@
+sysvinit (2.86.ds1-31~1) unstable; urgency=low
+
+ * Fix calls to fuser in umountnfs.sh. Thanks to Frank Mehnert for the
+ tip.
+
+ -- Petter Reinholdtsen <pere at debian.org> Mon, 2 Oct 2006 11:20:01 +0200
+
sysvinit (2.86.ds1-30) unstable; urgency=low
* Avoid mounting /lib/init/rw/ during installation and upgrades if
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh 2006-10-01 18:04:03 UTC (rev 1000)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh 2006-10-02 09:20:53 UTC (rev 1001)
@@ -84,7 +84,7 @@
# Kill all processes using the directories we try to umount
if [ -x /bin/fuser ] ; then
[ "$VERBOSE" = no ] || log_action_begin_msg "Asking non-system processes to terminate"
- fuser -k INT -m $DIRS
+ fuser -k -INT -m $DIRS
[ "$VERBOSE" = no ] || log_action_end_msg 0
for count in 1 2 3 4 5; do # Wait up to 5 seconds
@@ -95,7 +95,7 @@
pidsleft=`fuser -m $DIRS 2>/dev/null`
if [ "$pidsleft" ] ; then
[ "$VERBOSE" = no ] || log_action_begin_msg "Killing non-system processes"
- fuser -k TERM -m $DIRS
+ fuser -k -TERM -m $DIRS
[ "$VERBOSE" = no ] || log_action_end_msg 0
fi
else
More information about the Pkg-sysvinit-commits
mailing list