netifd: suppress uci error log

(cherry picked from commit f7d6042042)
This commit is contained in:
zxlhhyccc
2024-03-02 19:54:19 +08:00
committed by Tianling Shen
parent d98b570ef9
commit e06026b608

View File

@@ -32,7 +32,7 @@ set_hex_val() {
echo "$val" > "$file"
}
packet_steering="$(uci get "network.@globals[0].packet_steering")"
packet_steering="$(uci -q get "network.@globals[0].packet_steering")"
[ "$packet_steering" != 1 ] && exit 0
exec 512>/var/lock/smp_tune.lock