1 # hdw-linux nfs-utils extensions
7 # [D] nfs-utils-1.0.6.tar.gz http://belnet.dl.sourceforge.net/sourceforge/nfs/
12 cat > $root/etc/init.d/nfsd << 'EOF'
15 # hdw - linux /etc/init.d/nfsd
18 # remove for automatic startup
21 [ ! -f /usr/sbin/portmap ] && exit 0
24 start) echo "starting nfsd."
25 insmod -q nfsd > /dev/null 2>&1
30 stop) echo "stopping knfsd."
31 killall -15 rpc.mountd
33 killall -15 rpc.rquotad
36 *) echo "usage: $0 [start|stop]"
42 chmod 750 $root/etc/init.d/nfsd
43 ln -sf ../nfsd $root/etc/init.d/rc2.d/S50nfsd
44 ln -sf ../nfsd $root/etc/init.d/rc2.d/K50nfsd