diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index 669b2f4f4..090402bba 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -1,5 +1,15 @@ #!/usr/bin/env bashio +################# +# Create config # +################# + +# Create the config file +mkdir -p /config/enedisgateway2mqtt +touch /config/enedisgateway2mqtt/enedisgateway2mqtt.conf + +# Read the config file + ################# # Create config # ################# @@ -15,6 +25,7 @@ done echo " " bashio::log.info "Starting the app" echo " " + ############## # Launch App # ##############