lauv-aux-rpi2: hide harmless exportfs error messages.

This commit is contained in:
Ricardo Martins 2016-01-28 11:52:21 +00:00
parent 91ab44c833
commit 06af4b5492

View File

@ -92,7 +92,7 @@ start_nfs_server()
stop_nfs_server() stop_nfs_server()
{ {
echo "* Unexporting NFS filesystems..." echo "* Unexporting NFS filesystems..."
exportfs -au exportfs -au 2> /dev/null
echo "* Terminating rpc.mountd..." echo "* Terminating rpc.mountd..."
killall rpc.mountd 2> /dev/null killall rpc.mountd 2> /dev/null
echo "* Terminating rpc.statd..." echo "* Terminating rpc.statd..."