From b298663ce7fe47e8147247fc92a66eab20d85306 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 14 Oct 2023 20:38:24 +0200 Subject: [PATCH] Update 01-custom_script.sh --- .templates/01-custom_script.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 99e56a58a..4a20596c8 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -3,7 +3,9 @@ set -e slug="${HOSTNAME#*-}" -bashio::log.info "Execute /config/addons_autoscripts/${slug}.sh if existing" +bashio::log.green "Execute /config/addons_autoscripts/${slug}.sh if existing" +bashio::log.green "---------------------------------------------------------" +echo "Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation" mkdir -p /config/addons_autoscripts @@ -14,12 +16,12 @@ fi # Execute scripts if [ -f /config/addons_autoscripts/"${slug}".sh ]; then - bashio::log.info "... script found, executing" + bashio::log.green "... script found, executing" # Convert scripts to linux dos2unix /config/addons_autoscripts/"${slug}".sh || true chmod +x /config/addons_autoscripts/"${slug}".sh || true /./config/addons_autoscripts/"${slug}".sh else - bashio::log.info "... no script found" + bashio::log.green "... no script found" fi