mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 01-custom_script.sh
This commit is contained in:
@@ -60,6 +60,7 @@ while IFS= read -r line; do
|
|||||||
# Check if line is not empty and does not start with #
|
# Check if line is not empty and does not start with #
|
||||||
if [[ -n "$line" ]] && [[ ! "$line" =~ ^# ]]; then
|
if [[ -n "$line" ]] && [[ ! "$line" =~ ^# ]]; then
|
||||||
bashio::log.green "... script found, executing"
|
bashio::log.green "... script found, executing"
|
||||||
/."$CONFIGSOURCE"
|
bash "$CONFIGSOURCE"
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done <"$CONFIGSOURCE"
|
done <"$CONFIGSOURCE"
|
||||||
|
|||||||
Reference in New Issue
Block a user