CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python: initial import due to footprint mismatches for the ARM architecture
[ports/opt-arm.git] / nfs-utils / nfs
CommitLineData
e72251b7
VM
1#!/bin/sh
2#
3# /etc/rc.d/nfs: start/stop nfs client
4#
5
6PIPEFS=/var/lib/nfs/rpc_pipefs
7
8case $1 in
9start)
10 /bin/mount -t rpc_pipefs rpc_pipefs $PIPEFS
11 /usr/sbin/sm-notify
12 /usr/sbin/rpc.idmapd
13 /usr/sbin/rpc.statd
14 /bin/mount -a -t nfs
15 ;;
16stop)
17 /bin/umount -a -t nfs
18 killall -q /usr/sbin/rpc.statd
19 killall -q /usr/sbin/rpc.idmapd
20 /bin/umount $PIPEFS
21 ;;
22restart)
23 $0 stop
24 sleep 2
25 $0 start
26 ;;
27*)
28 echo "usage: $0 [start|stop|restart]"
29 ;;
30esac
31
32# End of file