mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-04 08:04:57 +02:00
Update 00-global_var.sh
This commit is contained in:
@@ -2,6 +2,11 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
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 #
|
# Export all addon options as env #
|
||||||
###################################
|
###################################
|
||||||
|
|||||||
Reference in New Issue
Block a user