mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 50-mounts
This commit is contained in:
@@ -36,6 +36,8 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
bashio::log.info "Network Disks mounting.. ${MOREDISKS}" && \
|
||||
for disk in $MOREDISKS
|
||||
do
|
||||
disk=$(echo $disk | sed "s,/$,,") # Remove / at end of name
|
||||
disk=${disk//\\//} #replace \ with /
|
||||
bashio::log.info "Mount ${disk}"
|
||||
if [ "$ITERATOR" -eq "1" ]; then
|
||||
mkdir -p /share/storagecifs && \
|
||||
|
||||
Reference in New Issue
Block a user