summaryrefslogtreecommitdiff
path: root/package/nfs-utils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-17 20:06:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-18 09:29:30 +0200
commitc9a479c25d2b38eea740adbeac6c96629b407b00 (patch)
treecf4b651d9f087868ab4e9bb17702ddcc8d977aea /package/nfs-utils
parent40c491783c3268dc6a2e6d737939d0ebe77469f0 (diff)
move cifs/nfs startup script back to base-files
Diffstat (limited to 'package/nfs-utils')
-rw-r--r--package/nfs-utils/files/nfs.init41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/nfs-utils/files/nfs.init b/package/nfs-utils/files/nfs.init
deleted file mode 100644
index 9fe9ce375..000000000
--- a/package/nfs-utils/files/nfs.init
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-#PKG nfs-utils-client
-#INIT 60
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${rpcbind:-NO}" = x"NO" && exit 0
- exec sh $0 start
- ;;
-start)
- grep nfs /proc/filesystems >/dev/null 2>&1
- if [ $? -eq 0 ];then
- grep -v "^#" /etc/fstab| grep nfs >/dev/null 2>&1
- if [ $? -eq 0 ];then
- mkdir -p /var/lib/nfs/rpc_pipefs
- mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
- mount -a -t nfs
- fi
- else
- logger -s "No nfs support in kernel"
- fi
- ;;
-stop)
- grep -v "^#" /etc/fstab| grep nfs >/dev/null 2>&1
- if [ $? -eq 0 ];then
- umount -a -t nfs
- umount /var/lib/nfs/rpc_pipefs
- fi
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?