ucentral-event: fix wifiscan init script to prevent boot log spam

Add quiet flag to uci command to suppress error messages when event
configuration doesn't exist, preventing unnecessary log spam during
boot.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-10-19 00:00:00 +02:00
parent 27e9f05908
commit 3f57866846

View File

@@ -10,7 +10,7 @@ service_triggers() {
} }
start_service() { start_service() {
interval=$(uci get event.wifiscan.interval) interval=$(uci -q get event.wifiscan.interval)
[ -z "$interval" ] && return [ -z "$interval" ] && return
procd_open_instance procd_open_instance
procd_set_param command "$PROG" procd_set_param command "$PROG"