From 86af7c85ac328747c992a1e12b5ad83341c4e5b1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 11 Oct 2023 21:06:07 +0200 Subject: [PATCH] Update 90-config_yaml.sh --- .templates/90-config_yaml.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index 13aa9813c..171647ff0 100755 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -7,6 +7,11 @@ set -e # INITIALIZATION # ################## +# Exit if /config is not mounted +if [ ! -f /config/configuration.* ] || [ ! -d /config/.storage ]; then + exit 0 +fi + # Where is the config if bashio::config.has_value 'CONFIG_LOCATION'; then