Update 01-custom_script.sh

This commit is contained in:
Alexandre
2025-02-11 15:06:57 +01:00
committed by GitHub
parent 10efcbd829
commit cca2be0bec

View File

@@ -6,8 +6,8 @@ set -e
# INITIALIZATION #
##################
# Exit if /config is not mounted
if [ ! -d /config ]; then
# Exit if /config is not mounted or HA not used
if [ ! -d /config ] || ! bashio::supervisor.ping 2>/dev/null; then
exit 0
fi