summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-06 05:27:28 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-06 05:27:28 +0000
commitb0796da85f5fcf2897347016bd70674912db3061 (patch)
tree4e03661facbcc345c6444e4f17373d67398055c1 /net-fs
parentNew packages for gnome-1.4_beta2 used in rc4 (diff)
downloadgentoo-2-b0796da85f5fcf2897347016bd70674912db3061.tar.gz
gentoo-2-b0796da85f5fcf2897347016bd70674912db3061.tar.bz2
gentoo-2-b0796da85f5fcf2897347016bd70674912db3061.zip
*** empty log message ***
Diffstat (limited to 'net-fs')
-rwxr-xr-xnet-fs/nfs-utils/files/nfs8
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