Update 01-config_yaml.sh

This commit is contained in:
Alexandre
2025-02-11 15:07:16 +01:00
committed by GitHub
parent cca2be0bec
commit a6050c73ff

View File

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