CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gtk-chtheme: initial import (verified compilation)
[attic/ports/opt-cross.git] / nfs-utils / nfs
CommitLineData
935da01f
VM
1#!/bin/sh
2#
3# /etc/rc.d/nfs: start/stop nfs client
4#
5
6case $1 in
7start)
8 /usr/sbin/sm-notify
9 /usr/sbin/rpc.statd
10 /bin/mount -a -t nfs
11 ;;
12stop)
13 /bin/umount -a -t nfs
14 killall -q /usr/sbin/rpc.statd
15 ;;
16restart)
17 $0 stop
18 sleep 2
19 $0 start
20 ;;
21*)
22 echo "usage: $0 [start|stop|restart]"
23 ;;
24esac
25
26# End of file