From 9d31851a65a961398d87f7d3454ce1147625dbce Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sat, 13 Nov 2021 13:16:24 +0100 Subject: [PATCH] Mount mmcblk0p8 --- enedisgateway2mqtt/rootfs/scripts/99-run.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 # ##############