lauv-aux-rpi: do not unmount external storage if it does not exist.

This commit is contained in:
Ricardo Martins 2015-12-18 10:54:05 +00:00
parent 823ea58578
commit 7577cd278a

View File

@ -117,6 +117,9 @@ start()
stop()
{
stop_nfs_server
echo "* Unmounting storage.."
umount "$cfg_lauv_storage_dir"
if [ "$cfg_lauv_storage" != "internal" ]; then
echo "* Unmounting storage..."
umount "$cfg_lauv_storage_dir"
fi
}