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()
|
||||||
{
|
{
|
||||||
stop_nfs_server
|
stop_nfs_server
|
||||||
echo "* Unmounting storage.."
|
|
||||||
|
if [ "$cfg_lauv_storage" != "internal" ]; then
|
||||||
|
echo "* Unmounting storage..."
|
||||||
umount "$cfg_lauv_storage_dir"
|
umount "$cfg_lauv_storage_dir"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user