inteno-netmode: fixed issues with ex400 behind ex400 refs

This commit is contained in:
Reidar Cederqvist 2017-05-15 15:27:23 +02:00
parent a11361c916
commit aae94da9ec
2 changed files with 2 additions and 0 deletions

View file

@ -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
}

View file

@ -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