summaryrefslogtreecommitdiff
path: root/package/nfs-utils/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-08 21:45:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-08 21:45:05 +0100
commitc115a9d1c3c12ce5504a1a5169006c66cafc34e3 (patch)
treef4bef63dd572e3fe54b8d5fdbffcbf2e2e78d7a2 /package/nfs-utils/files
parent91fb280c3d35424d56c7f9a3bea23f383dfcb56a (diff)
many bugfixes for native adksystems and some package updates
Diffstat (limited to 'package/nfs-utils/files')
-rw-r--r--package/nfs-utils/files/nfsd.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/nfs-utils/files/nfsd.init b/package/nfs-utils/files/nfsd.init
index 26be81aa8..4f0aaabe3 100644
--- a/package/nfs-utils/files/nfsd.init
+++ b/package/nfs-utils/files/nfsd.init
@@ -7,7 +7,7 @@
case $1 in
autostop) ;;
autostart)
- test x"${portmap:-NO}" = x"NO" || test x"${rpcbind:-NO}" = x"NO" && exit 0
+ test x"${portmap:-NO}" = x"NO" && test x"${rpcbind:-NO}" = x"NO" && exit 0
test x"${nfs_server:-NO}" = x"NO" && exit 0
exec sh $0 start
;;
@@ -32,6 +32,7 @@ stop)
if [ ${nfs_server_version} -eq 4 ];then
kill $(pgrep -f /usr/sbin/idmapd)
kill $(pgrep -f /usr/sbin/svcgssd)
+ umount /var/lib/nfs/rpc_pipefs
fi
;;
restart)