daemon /usr/sbin/exportfs -r
msg_starting "NFS mountd"
daemon rpc.mountd $RPCMOUNTOPTIONS
- if (grep -q nfs4 /proc/filesystems); then
+ if (grep -q rpc_pipefs /proc/filesystems); then
if [ ! -f /var/lock/subsys/idmapd ]; then
msg_starting "NFS idmapd"
daemon rpc.idmapd $RPCIDMAPOPTIONS
killproc rpc.mountd
msg_stopping "NFS daemon"
killproc nfsd -QUIT
- if (grep -q nfs4 /proc/filesystems); then
+ if (grep -q rpc_pipefs /proc/filesystems); then
msg_stopping "NFS svcgssd"
killproc rpc.svcgssd
if [ -f /var/lock/subsys/idmapd -a ! -f /var/lock/subsys/nfsfs ]; then
start)
if [ ! -f /var/lock/subsys/nfsfs ]; then
if [ "$NFSDTYPE" != "U" ] && grep -q nfs4 /proc/filesystems; then
+ modprobe -s nfs > /dev/null 2>&1
if [ "$(kernelverser)" -ge "002006" ]; then
grep -q rpc_pipefs /proc/filesystems && \
! grep -q rpc_pipefs /proc/mounts && \