diff options
author | Judd Vinet <judd@archlinux.org> | 2003-05-27 17:14:50 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-05-27 17:14:50 +0000 |
commit | 2e25861ad03003273707fa604522e3390c24f895 (patch) | |
tree | 04f65248977529c1c7e605feb808fe6031f1abc6 | |
parent | ba769985bf38b1eb4e54f0e19d8b3502216646d6 (diff) | |
download | initscripts-2e25861ad03003273707fa604522e3390c24f895.tar.xz |
moved nfsmount to nfs-utils
-rwxr-xr-x | nfsmount | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/nfsmount b/nfsmount deleted file mode 100755 index 712b705..0000000 --- a/nfsmount +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Mounting NFS filesystems" - if [ ! -f /var/run/daemons/portmap ]; then - stat_fail - echo "ERROR: portmap is not running" - exit 1 - fi - mount -a -t nfs - add_daemon nfsmount - stat_done - ;; - stop) - stat_busy "Unmounting NFS filesystems" - umount -a -t nfs - sleep 1 - if [ ! -z `mount -t nfs` ]; then - stat_fail - exit 1 - fi - rm_daemon nfsmount - stat_done - ;; - restart) - $0 stop - sleep 2 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |