From 7048b9181bd6b1eab4c5c836cd800aceece6d2d0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 13 Nov 2021 16:21:23 +0100 Subject: [PATCH] Update 99-run.sh --- enedisgateway2mqtt/rootfs/scripts/99-run.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index 45c8fbffc..1bcd02a95 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -49,9 +49,8 @@ done bashio::log.info "Starting the app with the variables in /config/enedisgateway2mqtt" -# Replace all "" with '' -#sed -i 's|"||g' $CONFIGSOURCE -#sed -i 's|\'|"|g' $CONFIGSOURCE +# Remove ' +sed -i 's|\x27||g' $CONFIGSOURCE # For all keys in config file for word in $(cat $CONFIGSOURCE); do