From e06026b608025eb6698201c70a3e461a7ee395ab Mon Sep 17 00:00:00 2001 From: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com> Date: Sat, 2 Mar 2024 19:54:19 +0800 Subject: [PATCH] netifd: suppress uci error log (cherry picked from commit f7d60420420e54112ea8ed402798362257908db0) --- .../config/netifd/files/usr/libexec/network/packet-steering.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/usr/libexec/network/packet-steering.sh b/package/network/config/netifd/files/usr/libexec/network/packet-steering.sh index 799c080805..cdda39fe58 100755 --- a/package/network/config/netifd/files/usr/libexec/network/packet-steering.sh +++ b/package/network/config/netifd/files/usr/libexec/network/packet-steering.sh @@ -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