2 # Begin $rc_base/init.d/nfs-server
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
12 echo "Starting NFS Server..."
13 loadproc
/usr
/sbin
/rpc.mountd
14 loadproc
/usr
/sbin
/rpc.nfsd
8
15 loadproc
/usr
/sbin
/rpc.statd
19 echo "Stopping NFS Server..."
20 killproc
/usr
/sbin
/rpc.nfsd
21 killproc
/usr
/sbin
/rpc.mountd
25 echo "Reloading NFS Server..."
26 /usr
/sbin
/exportfs
-ra
36 statusproc
/usr
/sbin
/rpc.mountd
37 statusproc
/usr
/sbin
/rpc.nfsd
41 echo "Usage: $0 {start|stop|reload|restart|status}"
46 # End $rc_base/init.d/nfs-server