mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-02 15:34:05 +01:00
inteno-netmodes: testnet: direct operstate check error to devnull
This commit is contained in:
parent
220d50e5a6
commit
dc1b5991ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue