blob: 2a7401c703a8127a3aa7ab85673d658ea8da1dc2 (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/nfs: start/stop nfs client
4 #
5
6 case $1 in
7 start)
8 /bin/mount -a -t nfs
9 ;;
10 stop)
11 /bin/umount -a -t nfs,nfs4
12 ;;
13 restart)
14 $0 stop
15 $0 start
16 ;;
17 status)
18 /bin/findmnt -t nfs,nfs4
19 ;;
20 *)
21 echo "usage: $0 [start|stop|restart|status]"
22 ;;
23 esac
24
25 # End of file
|