From e18f19cc3ea64ac9099f63ddf772f6dcf096a5df Mon Sep 17 00:00:00 2001 From: nagumii Date: Fri, 3 Jan 2025 10:19:36 +0200 Subject: [PATCH] Update femto-usb-config-tool.sh --- .../usr/local/bin/femto-usb-config-tool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-usb-config-tool.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-usb-config-tool.sh index 059f3ae..dbc477a 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-usb-config-tool.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-usb-config-tool.sh @@ -221,12 +221,12 @@ if [ -f "$mount_point/femtofox-config.txt" ]; then log_message "wpa_supplicant.conf updated and wifi restarted. Enabling Meshtastic wifi setting." fi - if [ "$meshtastic_url" != "femto-meshtasticd-config.sh" ]; then + if [ "$meshtastic_url" != "" ]; then log_message "Connecting to Meshtastic radio and submitting $meshtastic_url" femto-meshtasticd-config.sh -q "$meshtastic_url" 2>&1 | tee -a /tmp/femtofox-config.log fi - if [ "$meshtastic_security_command" != "" ]; then + if [ "$meshtastic_security_command" != "femto-meshtasticd-config.sh" ]; then log_message "Connecting to Meshtastic radio and submitting $meshtastic_security_command " eval "$meshtastic_security_command" 2>&1 | tee -a /tmp/femtofox-config.log