mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-23 22:40:33 +02:00
Update 50-mounts
This commit is contained in:
@@ -11,10 +11,10 @@ fi
|
|||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured and if Protection Mode is active
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
bashio::log.info "Local Disks mounting.. ${MOREDISKS}" && \
|
bashio::log.info "Local Disks mounting.. $MOREDISKS" && \
|
||||||
for disk in $MOREDISKS
|
for disk in $MOREDISKS
|
||||||
do
|
do
|
||||||
bashio::log.info "Mount ${disk}"
|
bashio::log.info "Mount $disk"
|
||||||
mkdir -p /share/$disk && \
|
mkdir -p /share/$disk && \
|
||||||
if [ ! -d /share/$disk ]; then
|
if [ ! -d /share/$disk ]; then
|
||||||
echo "Creating /share/$disk"
|
echo "Creating /share/$disk"
|
||||||
|
|||||||
Reference in New Issue
Block a user