mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-31 18:38:10 +00:00
WIFI-2059: Removed if statement that blocked some ip updates
Signed-off-by: Owen Anderson <owenthomasanderson@gmail.com>
This commit is contained in:
committed by
Rick Sommerville
parent
8bec57d411
commit
d3f8a54de5
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
|
[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
|
||||||
[ "$INTERFACE" = wan ] || exit 0
|
[ "$INTERFACE" = wan ] || [ "$INTERFACE" = lan ] || exit 0
|
||||||
|
|
||||||
conflict=0
|
conflict=0
|
||||||
wan_ipaddr="$(ubus call network.interface.wan status | grep \"address\" | grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')"
|
wan_ipaddr="$(ubus call network.interface.wan status | grep \"address\" | grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')"
|
||||||
|
|||||||
Reference in New Issue
Block a user