diff --git a/.templates/90-dns_set.sh b/.templates/90-dns_set.sh index 776948974..1a7eb7ed9 100644 --- a/.templates/90-dns_set.sh +++ b/.templates/90-dns_set.sh @@ -22,7 +22,7 @@ if bashio::config.has_value 'DNS_server'; then DNS="${DNS}nameserver $server\n" DNSLIST="$server $DNSLIST" else - bashio::log.warning "DNS $server was requested but can't be pinged. It won't be used" + bashio::log.warning "DNS $server was requested but can't be pinged. It won't be used" fi done @@ -37,7 +37,7 @@ if bashio::config.has_value 'DNS_server'; then else bashio::log.warning "No valid DNS were found. Using default router (or HA) dns servers." fi - + else bashio::log.info "DNS Servers option empty. Using default router (or HA) dns servers." fi diff --git a/.templates/92-smb_mounts.sh b/.templates/92-smb_mounts.sh index 08844bcbd..74cc60a86 100644 --- a/.templates/92-smb_mounts.sh +++ b/.templates/92-smb_mounts.sh @@ -71,10 +71,10 @@ if bashio::config.has_value 'networkdisks'; then bashio::log.fatal "Error, unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD. Please check your remote share path, username, password, domain, try putting 0 in UID and GID" bashio::log.fatal "Here is some debugging info :" -# Download smbclient -if command -v "apk" &>/dev/null; then apk add --no-cache samba-client &>/dev/null; fi -if command -v "apt" &>/dev/null; then apt-get install smbclient &>/dev/null; fi -if command -v "pacman" &>/dev/null; then pacman -S smbclient; fi + # Download smbclient + if command -v "apk" &>/dev/null; then apk add --no-cache samba-client &>/dev/null; fi + if command -v "apt" &>/dev/null; then apt-get install smbclient &>/dev/null; fi + if command -v "pacman" &>/dev/null; then pacman -S smbclient; fi # Provide debugging info smbclient -L $disk -U "$CIFS_USERNAME%$CIFS_PASSWORD" || true diff --git a/zoneminder/rootfs/etc/cont-init.d/00-folders.sh b/zoneminder/rootfs/etc/cont-init.d/00-folders.sh index d3a41d126..bf713d4bf 100644 --- a/zoneminder/rootfs/etc/cont-init.d/00-folders.sh +++ b/zoneminder/rootfs/etc/cont-init.d/00-folders.sh @@ -7,9 +7,9 @@ CONFIGSOURCE="/config/addons_config/zoneminder" # Set image location if bashio::config.has_value "Images_location"; then - IMAGESOURCE=$(bashio::config "Images_location") + IMAGESOURCE=$(bashio::config "Images_location") else - IMAGESOURCE="$CONFIGSOURCE"/images + IMAGESOURCE="$CONFIGSOURCE"/images fi # Create directory