diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 69fa338aa..4a5e5afa5 100644 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -5,10 +5,10 @@ slug="${HOSTNAME#*-}" bashio::log.info "Execute /config/${slug}.sh if existing" if [ -f /config/"${slug}".sh ]; then - bashio::log.info "... script found, executing" - chmod +x /config/"${slug}".sh - /./config/"${slug}".sh + bashio::log.info "... script found, executing" + chmod +x /config/"${slug}".sh + /./config/"${slug}".sh else - bashio::log.info "... no script found" + bashio::log.info "... no script found" fi diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index 504c75a47..491a8bc40 100644 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -45,8 +45,8 @@ if bashio::config.has_value 'localdisks'; then # Mount # shellcheck disable=SC2015 mount "$devpath"/"$disk" -o "uid=$PUID,gid=$PGID" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk" || \ - (mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk") || \ - (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk) + (mount "$devpath"/"$disk" /mnt/"$disk" && bashio::log.info "Success! $disk mounted to /mnt/$disk") || \ + (bashio::log.fatal "Unable to mount local drives! Please check the name." && rmdir /mnt/$disk) done diff --git a/baikal/rootfs/etc/cont-init.d/90-run.sh b/baikal/rootfs/etc/cont-init.d/90-run.sh index ddf13013e..faab57a8f 100644 --- a/baikal/rootfs/etc/cont-init.d/90-run.sh +++ b/baikal/rootfs/etc/cont-init.d/90-run.sh @@ -8,5 +8,5 @@ chown -R nginx:nginx /data # Start app /./etc/init.d/php8.1-fpm start && \ -chown -R nginx:nginx /data/Specific && \ -nginx -g "daemon off;" + chown -R nginx:nginx /data/Specific && \ + nginx -g "daemon off;" diff --git a/calibre_web/rootfs/etc/cont-init.d/31-correct_smb.sh b/calibre_web/rootfs/etc/cont-init.d/31-correct_smb.sh index 7c8b45ce3..367632801 100644 --- a/calibre_web/rootfs/etc/cont-init.d/31-correct_smb.sh +++ b/calibre_web/rootfs/etc/cont-init.d/31-correct_smb.sh @@ -1,5 +1,5 @@ #!/bin/bash if [ -f /etc/cont-init.d/92-smb_mounts.sh]; then - sed -i "s|cifs -o \"|cifs -o \"nobrl," /etc/cont-init.d/92-smb_mounts.sh + sed -i "s|cifs -o \"|cifs -o \"nobrl," /etc/cont-init.d/92-smb_mounts.sh fi diff --git a/qbittorrent/rootfs/etc/cont-init.d/00-folders.sh b/qbittorrent/rootfs/etc/cont-init.d/00-folders.sh index 75b6f8c3d..ba5f3bca5 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/00-folders.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/00-folders.sh @@ -3,7 +3,7 @@ mkdir -p /config/addons_config/qBittorrent if [ -f /config/addons_config/qbittorrent/qBittorrent.conf ] && [ -f /config/addons_config/qBittorrent/qBittorrent.conf ]; then -echo "Restore folders" -mv /config/addons_config/qBittorrent /config/addons_config/qBittorrent_old -mv /config/addons_config/qbittorrent /config/addons_config/qBittorrent + echo "Restore folders" + mv /config/addons_config/qBittorrent /config/addons_config/qBittorrent_old + mv /config/addons_config/qbittorrent /config/addons_config/qBittorrent fi diff --git a/scrutiny/rootfs/etc/cont-init.d/90-run.sh b/scrutiny/rootfs/etc/cont-init.d/90-run.sh index 4b80f3808..2883628fa 100644 --- a/scrutiny/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny/rootfs/etc/cont-init.d/90-run.sh @@ -16,11 +16,11 @@ if [[ "$(bashio::config "Mode")" == Collector ]]; then # Check collector if bashio::config.has_value "COLLECTOR_API_ENDPOINT"; then - echo "export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" >> /env.sh - sed -i "1a export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" /etc/services.d/collector-once/run - bashio::log.info "Using 'COLLECTOR_API_ENDPOINT' $(bashio::config "COLLECTOR_API_ENDPOINT")" + echo "export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" >> /env.sh + sed -i "1a export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" /etc/services.d/collector-once/run + bashio::log.info "Using 'COLLECTOR_API_ENDPOINT' $(bashio::config "COLLECTOR_API_ENDPOINT")" else - bashio::exit.nok "Mode is set to 'Collector', but 'COLLECTOR_API_ENDPOINT' is not defined" + bashio::exit.nok "Mode is set to 'Collector', but 'COLLECTOR_API_ENDPOINT' is not defined" fi fi diff --git a/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh b/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh index 6c29e8fe4..e7055103b 100644 --- a/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh @@ -16,10 +16,10 @@ if [[ "$(bashio::config "Mode")" == Collector ]]; then # Check collector if bashio::config.has_value "COLLECTOR_API_ENDPOINT"; then - echo "export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" >> /env.sh - sed -i "1a export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" /etc/services.d/collector-once/run - bashio::log.info "Using 'COLLECTOR_API_ENDPOINT' $(bashio::config "COLLECTOR_API_ENDPOINT")" + echo "export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" >> /env.sh + sed -i "1a export COLLECTOR_API_ENDPOINT=$(bashio::config "COLLECTOR_API_ENDPOINT")" /etc/services.d/collector-once/run + bashio::log.info "Using 'COLLECTOR_API_ENDPOINT' $(bashio::config "COLLECTOR_API_ENDPOINT")" else - bashio::exit.nok "Mode is set to 'Collector', but 'COLLECTOR_API_ENDPOINT' is not defined" + bashio::exit.nok "Mode is set to 'Collector', but 'COLLECTOR_API_ENDPOINT' is not defined" fi fi