cpe: sensible wifi ifname in wifi-on-link.sh
This commit is contained in:
parent
08b1a1dd17
commit
ee98af9fa8
|
@ -325,7 +325,7 @@ else
|
|||
REACHABLE=n
|
||||
fi
|
||||
|
||||
if [ "\\\$(cat /sys/class/net/wlan0/operstate)" == "up" ] ; then
|
||||
if [ "\\\$(cat /sys/class/net/wlan2-pub/operstate)" == "up" ] ; then
|
||||
UP=y
|
||||
else
|
||||
UP=n
|
||||
|
|
Loading…
Reference in New Issue