diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 31bdc3cc0..080461be4 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -11,8 +11,6 @@ if [ ! -d /config ] || ! bashio::supervisor.ping 2> /dev/null; then exit 0 fi -bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon" - # Define slug slug="${HOSTNAME/-/_}" slug="${slug#*_}" @@ -93,7 +91,7 @@ else bashio::log.green "If accessing the file with filebrowser it should be mapped to $CONFIGSOURCE" fi bashio::log.green "---------------------------------------------------------" -bashio::log.green "Wiki here on how to use: https://github.com/alexbelgium/hassio-addons/wiki/Addons-feature:-add-env-variables" +bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon" echo "" # Check if config file is there, or create one from template diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 6939d9de0..f6477544a 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -12,8 +12,6 @@ if [ ! -d /config ] || ! bashio::supervisor.ping 2> /dev/null; then exit 0 fi -bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons" - # Define slug slug="${HOSTNAME/-/_}" slug="${slug#*_}" @@ -33,8 +31,8 @@ fi mkdir -p "$CONFIGLOCATION" || true CONFIGSOURCE="$CONFIGLOCATION/$slug.sh" +bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons" bashio::log.green "Execute $CONFIGFILEBROWSER if existing" -bashio::log.green "Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation" # Download template if no script found and exit if [ ! -f "$CONFIGSOURCE" ]; then