This commit is contained in:
Alexandre
2020-12-01 13:47:41 +01:00

View File

@@ -16,7 +16,7 @@ if bashio::config.has_value 'localdisks'; then
mkdir -p /storage/$disk mkdir -p /storage/$disk
chown -R abc:abc /storage/$disk chown -R abc:abc /storage/$disk
fi fi
mount -t auto /dev_/disk/by-label/$disk /storage/$disk -o nosuid,relatime,noexec && \ mount -t auto /dev/$disk /storage/$disk -o nosuid,relatime,noexec && \
bashio::log.info "Success!" bashio::log.info "Success!"
done || \ done || \
bashio::log.warning "Protection mode is ON. Unable to mount local drives!" bashio::log.warning "Protection mode is ON. Unable to mount local drives!"