mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 11:24:04 +02:00
Update 50-mounts
This commit is contained in:
@@ -33,10 +33,10 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
CIFS_USERNAME=$(bashio::config 'cifsusername')
|
CIFS_USERNAME=$(bashio::config 'cifsusername')
|
||||||
CIFS_PASSWORD=$(bashio::config 'cifspassword')
|
CIFS_PASSWORD=$(bashio::config 'cifspassword')
|
||||||
ITERATOR=1
|
ITERATOR=1
|
||||||
bashio::log.info "Network Disks mounting.. ${MOREDISKS}" && \
|
bashio::log.info "Network Disks mounting.. $MOREDISKS" && \
|
||||||
for disk in $MOREDISKS
|
for disk in $MOREDISKS
|
||||||
do
|
do
|
||||||
bashio::log.info "Mount ${disk}"
|
bashio::log.info "Mount $disk"
|
||||||
if [ "$ITERATOR" -eq "1" ]; then
|
if [ "$ITERATOR" -eq "1" ]; then
|
||||||
mkdir -p /share/storagecifs && \
|
mkdir -p /share/storagecifs && \
|
||||||
if [ ! -d /storage/storagecifs ]; then
|
if [ ! -d /storage/storagecifs ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user