diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-17 20:06:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-18 09:29:30 +0200 |
commit | c9a479c25d2b38eea740adbeac6c96629b407b00 (patch) | |
tree | cf4b651d9f087868ab4e9bb17702ddcc8d977aea /package/cifs-utils | |
parent | 40c491783c3268dc6a2e6d737939d0ebe77469f0 (diff) |
move cifs/nfs startup script back to base-files
Diffstat (limited to 'package/cifs-utils')
-rw-r--r-- | package/cifs-utils/files/cifs.init | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/package/cifs-utils/files/cifs.init b/package/cifs-utils/files/cifs.init deleted file mode 100644 index 8cc5783e2..000000000 --- a/package/cifs-utils/files/cifs.init +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -#PKG cifs-utils -#INIT 60 - -case $1 in -autostop) ;; -autostart) - exec sh $0 start - ;; -start) - grep cifs /proc/filesystems >/dev/null 2>&1 - if [ $? -eq 0 ];then - grep -v "^#" /etc/fstab| grep cifs >/dev/null 2>&1 - if [ $? -eq 0 ];then - mount -a -t cifs - fi - else - logger -t cifs -s "No cifs support in kernel" - fi - ;; -stop) - grep -v "^#" /etc/fstab| grep cifs >/dev/null 2>&1 - if [ $? -eq 0 ];then - umount -a -t cifs - fi - ;; -restart) - sh $0 stop - sh $0 start - ;; -*) - echo "Usage: $0 {start | stop | restart}" - exit 1 - ;; -esac -exit $? |