Add links to WKI

This commit is contained in:
Alexandre
2025-07-31 14:38:00 +02:00
committed by GitHub
parent 2cbde1519e
commit e93e0dfa54
4 changed files with 8 additions and 0 deletions

View File

@@ -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 #
######################

View File

@@ -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 #
####################

View File

@@ -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#*_}"

View File

@@ -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#*_}"