From e93e0dfa54d74277381507429263d7fc546ca9af Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:38:00 +0200 Subject: [PATCH] Add links to WKI --- .templates/00-local_mounts.sh | 2 ++ .templates/00-smb_mounts.sh | 2 ++ .templates/01-config_yaml.sh | 2 ++ .templates/01-custom_script.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.templates/00-local_mounts.sh b/.templates/00-local_mounts.sh index b32837c2b..ca21679d6 100755 --- a/.templates/00-local_mounts.sh +++ b/.templates/00-local_mounts.sh @@ -7,6 +7,8 @@ if ! bashio::supervisor.ping 2> /dev/null; then exit 0 fi +bashio::log.notice "This script is used to mount local USB/SATA/SD/NVMe drives. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Mounting-Local-Drives-in-Addons" + ###################### # MOUNT LOCAL SHARES # ###################### diff --git a/.templates/00-smb_mounts.sh b/.templates/00-smb_mounts.sh index 456cba27c..5666b2456 100755 --- a/.templates/00-smb_mounts.sh +++ b/.templates/00-smb_mounts.sh @@ -8,6 +8,8 @@ if ! bashio::supervisor.ping 2> /dev/null; then exit 0 fi +bashio::log.notice "This script is used to mount remote smb/cifs/nfs shares. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Mounting-remote-shares-in-Addons" + #################### # DEFINE FUNCTIONS # #################### diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 2a262ba89..31bdc3cc0 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -11,6 +11,8 @@ 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#*_}" diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 4b7b354d1..6939d9de0 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -12,6 +12,8 @@ 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#*_}"