mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-09 18:57:58 +01:00
inteno-netmode: fixed issues with ex400 behind ex400 refs
This commit is contained in:
parent
a11361c916
commit
aae94da9ec
2 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ test_ip() {
|
|||
uci commit netmode
|
||||
local pid="$(ps | grep wificontro[l] | awk '/repeater/ {print $1}')"
|
||||
[ "$pid" != "" ] && kill $pid
|
||||
/sbin/netmode-client-detect &
|
||||
}
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ local action ipaddr macaddr network
|
|||
|
||||
timed_check() {
|
||||
while true; do
|
||||
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}' >/dev/null
|
||||
wificontrol --router
|
||||
sleep $1
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue