From c1fa622eee9b7a38419edf58c96c8ff0d7337775 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Fri, 13 Feb 2026 08:40:14 +0100 Subject: [PATCH] fix(secubox-p2p): Remove invalid 'local' in case statement BusyBox ash doesn't support 'local' keyword outside functions. This was causing health_check RPC to hang with no response. Co-Authored-By: Claude Opus 4.5 --- .../secubox-p2p/root/usr/libexec/rpcd/luci.secubox-p2p | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/secubox/secubox-p2p/root/usr/libexec/rpcd/luci.secubox-p2p b/package/secubox/secubox-p2p/root/usr/libexec/rpcd/luci.secubox-p2p index 092e4c50..ec0c0322 100644 --- a/package/secubox/secubox-p2p/root/usr/libexec/rpcd/luci.secubox-p2p +++ b/package/secubox/secubox-p2p/root/usr/libexec/rpcd/luci.secubox-p2p @@ -208,9 +208,9 @@ EOF ;; health_check) - local peers_online=0 - local peers_total=0 - local services_running=0 + peers_online=0 + peers_total=0 + services_running=0 # Count online peers if [ -f /tmp/secubox-p2p-peers.json ]; then