From: Russ Allbery Date: Tue, 4 Mar 2008 02:41:29 +0000 (+0000) Subject: Minor comment fix in the init script. X-Git-Tag: debian/1.4.7.pre1.dfsg1-1~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=db5380d7c8fa8c6a4af9b520f264dd44d3adb607;p=packages%2Fo%2Fopenafs.git Minor comment fix in the init script. --- diff --git a/debian/openafs-client.init b/debian/openafs-client.init index 81e5b5ddc..b9946684b 100755 --- a/debian/openafs-client.init +++ b/debian/openafs-client.init @@ -151,8 +151,7 @@ start_client() { } # Kill all processes that are accessing AFS. Not enabled by default, and -# normally called via kill_all_afs. Warns and does nothing if lsof is not -# installed. +# normally called via kill_all_afs. kill_afs() { signal=$1 pids=`/usr/bin/lsof -Fp /afs | sed 's/p//'` @@ -165,6 +164,8 @@ kill_afs() { # Repeatedly call kill_afs for a series of signals to give AFS-using processes # a hope of shutting down cleanly if the system is shutting down. Not enabled # by default. Enable this in /etc/openafs/afs.conf. +# +# Warns and does nothing if lsof is not installed. kill_all_afs() { runlevel=`runlevel | sed 's/^. //'` if [ "$runlevel" -eq 0 ] || [ "$runlevel" -eq 6 ] ; then