mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Revert "inteno-netmodes: prevent fake mode switching"
This reverts commit c730387f5c.
This commit is contained in:
parent
48195b582f
commit
c0bf1be7c1
1 changed files with 0 additions and 4 deletions
|
|
@ -49,10 +49,6 @@ get_wifi_iface_cfgstr() {
|
|||
link=$(cat /sys/class/net/${WANDEV:0:4}/operstate)
|
||||
[ $MTK -eq 1 ] && link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
|
||||
|
||||
# if WAN link state has not changed, exit
|
||||
[ "$link" == "$(cat /tmp/wan_link_state 2>/dev/null)" ] && exit
|
||||
echo "$link" > /tmp/wan_link_state
|
||||
|
||||
case "$ACTION" in
|
||||
add|register)
|
||||
[ "$link" == "down" ] && return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue