lauv-aux-rpi: do not unmount external storage if it does not exist.
This commit is contained in:
parent
823ea58578
commit
7577cd278a
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user