Update 92-local_mounts_v1.1.sh

This commit is contained in:
Alexandre
2021-06-21 21:49:12 +02:00
committed by GitHub
parent 0630e82398
commit b040257992

View File

@@ -8,6 +8,7 @@ bashio::log.info 'Mounting external hdd...'
# Mount local Share if configured and if Protection Mode is active
if bashio::config.has_value 'localdisks'; then
bashio::require.unprotected
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting.. ${MOREDISKS}" && \
for disk in ${MOREDISKS//,/ } # Separate comma separated values