diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-03-06 05:27:28 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-03-06 05:27:28 +0000 |
commit | e7d052192f29b94296dd5ebd017702d5cd9e0dd2 (patch) | |
tree | 521105daacc2e86d23edd2427a93fb6acc79f38c /net-fs | |
parent | *** empty log message *** (diff) | |
download | historical-e7d052192f29b94296dd5ebd017702d5cd9e0dd2.tar.gz historical-e7d052192f29b94296dd5ebd017702d5cd9e0dd2.tar.bz2 historical-e7d052192f29b94296dd5ebd017702d5cd9e0dd2.zip |
*** empty log message ***
Diffstat (limited to 'net-fs')
-rwxr-xr-x | net-fs/nfs-utils/files/nfs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-fs/nfs-utils/files/nfs b/net-fs/nfs-utils/files/nfs index 902fbf12a0b8..a36451761889 100755 --- a/net-fs/nfs-utils/files/nfs +++ b/net-fs/nfs-utils/files/nfs @@ -9,8 +9,11 @@ EXE="/sbin/nfsd" opts="start stop restart" start() { + ebegin "Starting ${SERVICE}" - start-stop-daemon --start --quiet --exec /sbin/rpc.statd 1>&2 + start-stop-daemon --start --quiet --exec /sbin/rpc.statd 1>&2 + mount -a -t nfs + if [ "$NFSSERVER" = "yes" ] then start-stop-daemon --start --quiet --exec /sbin/exportfs -- -r 1>&2 @@ -21,7 +24,10 @@ start() { } stop() { + ebegin "Stopping ${SERVICE}" + umount -a -t nfs + if [ "$NFSSERVER" = "yes" ] then start-stop-daemon --stop --quiet --exec /sbin/exportfs -- -au 1>&2 |