Update 92-local_mounts.sh

This commit is contained in:
Alexandre
2023-03-04 22:27:45 +01:00
committed by GitHub
parent 12816801a9
commit b2a21f779e

View File

@@ -5,8 +5,7 @@
# LIST LOCAL DISKS #
####################
function list_drives (\
bashio::log.info "List of available labels (@dianlight)"
function list_drives (bashio::log.info "List of available labels (@dianlight)"
bashio::log.blue "---------------------------------------------------"
#autodisks=($(lsblk -E label -n -o label | sed -r '/^\s*$/d' | grep -v hassos | grep pp))
readarray -t autodisks < <(lsblk -E label -n -o label -i | sed -r '/^\s*$/d' | grep -v hassos)
@@ -18,8 +17,7 @@ else
bashio::log.info "\t${disk}[$(lsblk $(blkid -L "$disk") -no fstype)]"
done
fi
bashio::log.blue "---------------------------------------------------"
)
bashio::log.blue "---------------------------------------------------")
######################
# MOUNT LOCAL SHARES #