aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/nfsfs
diff options
context:
space:
mode:
authorDonnie Barnes <djb@redhat.com>1997-10-23 19:37:48 +0000
committerDonnie Barnes <djb@redhat.com>1997-10-23 19:37:48 +0000
commitf4cc66886a0a1043a786e62c30d7ef2d40c50e03 (patch)
treebacf7e343e469639391eb818bb85589a91ebaa88 /rc.d/init.d/nfsfs
parent34d0b15663a995dff1ba2ebfa742afbac36fc1f2 (diff)
downloadinitscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.gz
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.bz2
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.tar.xz
initscripts-f4cc66886a0a1043a786e62c30d7ef2d40c50e03.zip
added status|restart to all scripts
Diffstat (limited to 'rc.d/init.d/nfsfs')
-rwxr-xr-xrc.d/init.d/nfsfs9
1 files changed, 8 insertions, 1 deletions
diff --git a/rc.d/init.d/nfsfs b/rc.d/init.d/nfsfs
index 0f479b44..732bd660 100755
--- a/rc.d/init.d/nfsfs
+++ b/rc.d/init.d/nfsfs
@@ -34,8 +34,15 @@ case "$1" in
rm -f /var/lock/subsys/nfsfs
echo
;;
+ status)
+ status nfsfs
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
*)
- echo "Usage: nfsfs {start|stop}"
+ echo "Usage: nfsfs {start|stop|restart|status}"
exit 1
esac