mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-14 03:41:01 +01:00
allow addon start to fail if smb not mounted
This commit is contained in:
@@ -29,5 +29,5 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
chown -R root:root /mnt/$diskname # Permissions
|
||||
mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD$SMBVERS $disk /mnt/$diskname && \
|
||||
bashio::log.info "... $disk successfully mounted to /mnt/$diskname" || bashio::log.error "Unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD" # Mount share
|
||||
done || true
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user