diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/updatemeshtastic.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/updatemeshtastic.sh index 1fa97d0..68deb12 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/updatemeshtastic.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/updatemeshtastic.sh @@ -5,8 +5,9 @@ attempts=$2 ref="$3: " for retries in $(seq 1 $attempts); do - output=$(meshtastic --host 127.0.0.1 $command >&2) #>&2 lets meshtastic's output display on screen - + output=$(meshtastic --host 127.0.0.1 $command) #>&2 lets meshtastic's output display on screen + echo $output + logger $output if echo "$output" | grep -qiE "Abort|invalid|Error|refused|Errno"; then if [ "$retries" -lt $attempts ]; then msg="${ref:+$ref }Meshtastic update failed, retrying ($(($retries + 1))/$attempts)..."