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 | b0796da85f5fcf2897347016bd70674912db3061 (patch) | |
tree | 4e03661facbcc345c6444e4f17373d67398055c1 /net-fs | |
parent | New packages for gnome-1.4_beta2 used in rc4 (diff) | |
download | gentoo-2-b0796da85f5fcf2897347016bd70674912db3061.tar.gz gentoo-2-b0796da85f5fcf2897347016bd70674912db3061.tar.bz2 gentoo-2-b0796da85f5fcf2897347016bd70674912db3061.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 |