Update 00-local_mounts.sh

This commit is contained in:
Alexandre
2023-10-04 19:39:57 +02:00
committed by GitHub
parent ed6a8f1cc6
commit 84b531f8d7

View File

@@ -41,7 +41,7 @@ if bashio::config.has_value 'localdisks'; then
elif [ -n "$(lsblk -o LABEL | grep -w "NAS" | awk '{print $1}')" ]; then
echo "... mount as label"
devpath=/dev/disk/by-label
elif [ -e /dev/"${disk}" ]
elif [ -e /dev/"${disk}" ]; then
echo "... mount as physical device"
devpath=/dev
else