netifd: suppress uci error log

This commit is contained in:
zxlhhyccc 2024-03-02 19:54:19 +08:00 committed by GitHub
parent 4d9dbd54fd
commit f7d6042042
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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