[Pkg-sysvinit-commits] r919 -
sysvinit/trunk/debian/initscripts/etc/init.d
Petter Reinholdtsen
pere at costa.debian.org
Tue Sep 12 21:47:17 UTC 2006
Author: pere
Date: 2006-09-12 21:47:17 +0000 (Tue, 12 Sep 2006)
New Revision: 919
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
Log:
Warn if fuser is missing when remote file systems are used.
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh 2006-09-12 21:42:03 UTC (rev 918)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh 2006-09-12 21:47:17 UTC (rev 919)
@@ -88,6 +88,12 @@
fuser -k TERM -m $DIRS
[ "$VERBOSE" = no ] || log_action_end_msg 0
fi
+ else
+ log_warning_msg "Missing fuser, using sendsigs to kill all programs"
+ log_warning_msg "Install psmisc if you want to kill only processes"
+ log_warning_msg "using the remote and non-toplevel virtual file systems"
+ log_warning_msg "before umounting them."
+ /etc/init.d/sendsigs stop
fi
[ "$VERBOSE" = no ] || log_action_begin_msg "Unmounting remote and non-toplevel virtual filesystems"
More information about the Pkg-sysvinit-commits
mailing list