mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Update 00-local_mounts.sh
This commit is contained in:
@@ -41,7 +41,7 @@ if bashio::config.has_value 'localdisks'; then
|
|||||||
elif [ -n "$(lsblk -o LABEL | grep -w "NAS" | awk '{print $1}')" ]; then
|
elif [ -n "$(lsblk -o LABEL | grep -w "NAS" | awk '{print $1}')" ]; then
|
||||||
echo "... mount as label"
|
echo "... mount as label"
|
||||||
devpath=/dev/disk/by-label
|
devpath=/dev/disk/by-label
|
||||||
elif [ -e /dev/"${disk}" ]
|
elif [ -e /dev/"${disk}" ]; then
|
||||||
echo "... mount as physical device"
|
echo "... mount as physical device"
|
||||||
devpath=/dev
|
devpath=/dev
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user