From d9c51b48a6d3338e58c18f61fe465ea74d18f6c9 Mon Sep 17 00:00:00 2001 From: Raoul Hecky Date: Thu, 31 Aug 2023 15:08:55 +0200 Subject: [PATCH] fix --- scripts/start_z2mqtt.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/start_z2mqtt.sh b/scripts/start_z2mqtt.sh index 80dccad..a5a394b 100755 --- a/scripts/start_z2mqtt.sh +++ b/scripts/start_z2mqtt.sh @@ -8,9 +8,11 @@ cidfile=$1 exit 1 } +fs="/mnt/calaos/zigbee2mqtt" + devlist() { - grep '/dev/' configuration.yaml | awk '{print $2}' + grep '/dev/' ${fs}/configuration.yaml | awk '{print $2}' } append_dev_opts()