summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
index 8ee8d0bb50..d7cf6e0048 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
@@ -161,14 +161,9 @@ status)
161 [ $RETVAL -eq 0 ] && exit $rval 161 [ $RETVAL -eq 0 ] && exit $rval
162 exit $RETVAL;; 162 exit $RETVAL;;
163reload) test -r /etc/exports && exportfs -r;; 163reload) test -r /etc/exports && exportfs -r;;
164restart)exportfs -ua 164restart)
165 stop_mountd 165 $0 stop
166 stop_statd 166 $0 start;;
167 # restart does not restart the kernel threads,
168 # only the user mode processes
169 start_mountd
170 start_statd
171 test -r /etc/exports && exportfs -a;;
172*) echo "Usage: $0 {start|stop|status|reload|restart}" 167*) echo "Usage: $0 {start|stop|status|reload|restart}"
173 exit 1;; 168 exit 1;;
174esac 169esac