# description: NFS is a popular protocol for file sharing across \
# TCP/IP networks. This service provides NFS file \
# locking functionality.
-# probe: true
+# probe: true
# Source function library.
. /etc/rc.d/init.d/functions
fi
if [ -x /sbin/pidof ] && [ "$1" != "stop" ]; then
- [ -z "`/sbin/pidof portmap`" ] && echo "Error: portmap isn't running" && exit 0
+ [ -z "`/sbin/pidof portmap`" ] && nls "Error: portmap isn't running" && exit 0
fi
# Sanity checks
status)
status rpc.statd
;;
- restart)
+ restart|reload)
$0 stop
$0 start
;;
fi
;;
*)
- msg_usage "$0 {start|stop|restart|probe|status}"
+ msg_usage "$0 {start|stop|restart|reload|probe|status}"
exit 1
esac