diff --git a/inteno-netmodes/files/sbin/testnet b/inteno-netmodes/files/sbin/testnet index e0b0c4bfc..304e6e90c 100755 --- a/inteno-netmodes/files/sbin/testnet +++ b/inteno-netmodes/files/sbin/testnet @@ -111,7 +111,7 @@ ping_uplink() AccessPolicy=1 if [ -f /usr/sbin/iwpriv]; then - grep -q up /sys/class/net/$ETHWAN/operstate || { + grep -q up /sys/class/net/$ETHWAN/operstate 2>/dev/null || { # Do not allow clients to connect on 2.4GHz radio iwpriv ra0 set AccessPolicy=$AccessPolicy # Do not allow clients to connect on 5GHz radio