From 0dbc7ffb8cb0ce3fd925598237f99d54dca6f5ec Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 11 Feb 2025 15:03:48 +0100 Subject: [PATCH] Update 00-global_var.sh --- .templates/00-global_var.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index 63c95260c..e2914d0ea 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -2,6 +2,11 @@ # shellcheck shell=bash set -e +if ! bashio::supervisor.ping 2>/dev/null; then + bashio::log.blue "Please use ENV variables to define variables" + exit 0 +fi + ################################### # Export all addon options as env # ###################################