nfs-utils: added nfs-client script.

This commit is contained in:
Ricardo Martins 2015-03-02 16:58:29 +00:00
parent ec1bf09d1f
commit 2c9888096c

View File

@ -0,0 +1,20 @@
start()
{
/usr/bin/rpcbind
if [ $? -ne 0 ]; then
echo "ERROR: failed to start rpcbind."
return 1
fi
/usr/bin/rpc.statd
if [ $? -ne 0 ]; then
echo "ERROR: failed to start rpc.statd."
return 1
fi
}
stop()
{
killall rpc.mountd
killall rpc.statd
}