From 2fbe64e1addfbbbebc05b6e0d3055ac14e780875 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Tue, 7 Dec 2021 15:58:25 +0100 Subject: [PATCH] update --- arpspoof/rootfs/scripts/00-global_var.sh | 2 +- enedisgateway2mqtt/rootfs/scripts/00-global_var.sh | 2 +- enedisgateway2mqtt_dev/rootfs/scripts/00-global_var.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arpspoof/rootfs/scripts/00-global_var.sh b/arpspoof/rootfs/scripts/00-global_var.sh index b20e367db..f49cd70ed 100644 --- a/arpspoof/rootfs/scripts/00-global_var.sh +++ b/arpspoof/rootfs/scripts/00-global_var.sh @@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do VALUE=$(jq .$KEYS ${JSONSOURCE}) line="${KEYS}=${VALUE//[\"\']/}" # Use locally - bashio::log.blue "$line" 2>/dev/null || echo "$line" + bashio::log.blue "$line" export $line # Export the variable to run scripts line="${KEYS}=${VALUE//[\"\']/} &>/dev/null" diff --git a/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh b/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh index b20e367db..f49cd70ed 100644 --- a/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh +++ b/enedisgateway2mqtt/rootfs/scripts/00-global_var.sh @@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do VALUE=$(jq .$KEYS ${JSONSOURCE}) line="${KEYS}=${VALUE//[\"\']/}" # Use locally - bashio::log.blue "$line" 2>/dev/null || echo "$line" + bashio::log.blue "$line" export $line # Export the variable to run scripts line="${KEYS}=${VALUE//[\"\']/} &>/dev/null" diff --git a/enedisgateway2mqtt_dev/rootfs/scripts/00-global_var.sh b/enedisgateway2mqtt_dev/rootfs/scripts/00-global_var.sh index b20e367db..f49cd70ed 100644 --- a/enedisgateway2mqtt_dev/rootfs/scripts/00-global_var.sh +++ b/enedisgateway2mqtt_dev/rootfs/scripts/00-global_var.sh @@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do VALUE=$(jq .$KEYS ${JSONSOURCE}) line="${KEYS}=${VALUE//[\"\']/}" # Use locally - bashio::log.blue "$line" 2>/dev/null || echo "$line" + bashio::log.blue "$line" export $line # Export the variable to run scripts line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"