diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 5f397d66d..e808ae025 100644 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -60,6 +60,7 @@ while IFS= read -r line; do # Check if line is not empty and does not start with # if [[ -n "$line" ]] && [[ ! "$line" =~ ^# ]]; then bashio::log.green "... script found, executing" - /."$CONFIGSOURCE" + bash "$CONFIGSOURCE" + break fi done <"$CONFIGSOURCE"