diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-23 20:15:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-23 20:15:59 +0000 |
commit | 3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72 (patch) | |
tree | 0f0e78f3634deed3d2c36161430ecbdbd6b53bf2 /rc.d/init.d/netfs | |
parent | a4a25465cd2844d72bf518188b813c009450f505 (diff) | |
download | initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.gz initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.bz2 initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.xz initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.zip |
tag action, runcmd, etc. lines as well
Diffstat (limited to 'rc.d/init.d/netfs')
-rwxr-xr-x | rc.d/init.d/netfs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 8b51408c..1994ca17 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -35,12 +35,12 @@ case "$1" in [ -n "$NFSFSTAB" ] && { [ ! -f /var/lock/subsys/portmap ] && service portmap start - action "Mounting NFS filesystems: " mount -a -t nfs + action $"Mounting NFS filesystems: " mount -a -t nfs } - [ -n "$SMBFSTAB" ] && action "Mounting SMB filesystems: " mount -a -t smbfs - [ -n "$NCPFSTAB" ] && action "Mounting NCP filesystems: " mount -a -t ncpfs + [ -n "$SMBFSTAB" ] && action $"Mounting SMB filesystems: " mount -a -t smbfs + [ -n "$NCPFSTAB" ] && action $"Mounting NCP filesystems: " mount -a -t ncpfs touch /var/lock/subsys/netfs - action "Mounting other filesystems: " mount -a -t nonfs,smbfs,ncpfs + action $"Mounting other filesystems: " mount -a -t nonfs,smbfs,ncpfs ;; stop) [ -n "$NFSMTAB" ] && { @@ -50,9 +50,9 @@ case "$1" in while [ -n "$remaining" -a "$retry" -gt 0 ] do if [ "$retry" -lt 3 ]; then - action "Unmounting NFS filesystems (retry): " umount -f -a -t nfs + action $"Unmounting NFS filesystems (retry): " umount -f -a -t nfs else - action "Unmounting NFS filesystems: " umount -f -a -t nfs + action $"Unmounting NFS filesystems: " umount -f -a -t nfs fi sleep 2 remaining=`awk '!/^#/ && $3 ~ /^nfs/ && $2 != "/" {print $2}' /proc/mounts` @@ -63,8 +63,8 @@ case "$1" in sig=-9 done } - [ -n "$SMBMTAB" ] && action "Unmounting SMB filesystems: " umount -a -t smbfs - [ -n "$NCPMTAB" ] && action "Unmounting NCP filesystems: " umount -a -t ncpfs + [ -n "$SMBMTAB" ] && action $"Unmounting SMB filesystems: " umount -a -t smbfs + [ -n "$NCPMTAB" ] && action $"Unmounting NCP filesystems: " umount -a -t ncpfs rm -f /var/lock/subsys/netfs ;; status) |