mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 19:07:47 +00:00
udnssnoop: fix init script to prevent boot log spam
Add quiet flag to uci command to suppress error messages when qosify 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() {
|
||||
local device=$(uci get qosify.@device[0].name)
|
||||
local device=$(uci -q get qosify.@device[0].name)
|
||||
[ -z "$device" ] && return
|
||||
|
||||
procd_open_instance
|
||||
|
||||
Reference in New Issue
Block a user