mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02:00
Update 99-run.sh
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
CONFIGSOURCE="/config/enedisgateway2mqtt/config.yaml"
|
CONFIGSOURCE="/config/enedisgateway2mqtt/config.yaml"
|
||||||
|
|
||||||
|
if false; then
|
||||||
# Check if config file is there, or create template
|
# Check if config file is there, or create template
|
||||||
if [ -f $CONFIGSOURCE ]; then
|
if [ -f $CONFIGSOURCE ]; then
|
||||||
echo "Using config file found in $CONFIGSOURCE"
|
echo "Using config file found in $CONFIGSOURCE"
|
||||||
@@ -24,7 +25,7 @@ else
|
|||||||
bashio::log.fatal "Config file has an invalid yaml format. Please check the file in $CONFIGSOURCE"
|
bashio::log.fatal "Config file has an invalid yaml format. Please check the file in $CONFIGSOURCE"
|
||||||
bashio::exit.nok
|
bashio::exit.nok
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user