nfs-utils: added nfs-client script.
This commit is contained in:
parent
ec1bf09d1f
commit
2c9888096c
20
packages/nfs-utils/fs/etc/rc.d/nfs-client
Normal file
20
packages/nfs-utils/fs/etc/rc.d/nfs-client
Normal 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
|
||||||
|
}
|
Reference in New Issue
Block a user