mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 06:50:58 +02:00
Update 92-smb_mounts.sh
This commit is contained in:
@@ -59,7 +59,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Messages
|
# Messages
|
||||||
if [ "$MOUNTED" = true ] && [ mountpoint -q /mnt/"$diskname" ]; then
|
if [ "$MOUNTED" = true ] && mountpoint -q /mnt/"$diskname"; then
|
||||||
#Test write permissions
|
#Test write permissions
|
||||||
# shellcheck disable=SC2015
|
# shellcheck disable=SC2015
|
||||||
touch "/mnt/$diskname/testaze" && rm "/mnt/$diskname/testaze" &&
|
touch "/mnt/$diskname/testaze" && rm "/mnt/$diskname/testaze" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user