Update 50-mounts

This commit is contained in:
Alexandre
2021-06-17 19:08:52 +02:00
committed by GitHub
parent eb694bf8c0
commit 0533b2f4aa

View File

@@ -11,10 +11,10 @@ fi
# Mount local Share if configured and if Protection Mode is active
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting.. ${MOREDISKS}" && \
bashio::log.info "Local Disks mounting.. $MOREDISKS" && \
for disk in $MOREDISKS
do
bashio::log.info "Mount ${disk}"
bashio::log.info "Mount $disk"
mkdir -p /share/$disk && \
if [ ! -d /share/$disk ]; then
echo "Creating /share/$disk"