mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user