Changed files:
nfs.init -> 1.20
nfsfs.init -> 1.18
msg_starting "NFS daemon"
daemon rpc.nfsd
else
+ modprobe -s nfsd > /dev/null 2>&1
+ if [ "$(kernelverser)" -ge "002006" ] && \
+ grep -q nfsd /proc/filesystems && \
+ ! grep -q nfsd /proc/mounts; then
+ run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
+ fi
msg_starting "NFS"
daemon /usr/sbin/exportfs -r
msg_starting "NFS mountd"
# See how we were called.
case "$1" in
start)
- modprobe -s nfsd > /dev/null 2>&1
-
- if [ "$(kernelverser)" -ge "002006" ] && \
- grep -q nfsd /proc/filesystems && \
- ! grep -q nfsd /proc/mounts; then
- run_cmd "Mounting /proc/fs/nfsd filesystem" mount -t nfsd nfsd /proc/fs/nfsd
- fi
run_cmd "Mounting NFS filesystems" mount -a -t nfs
touch /var/lock/subsys/nfsfs
;;