inteno-netmodes: netmode-client-detect: use the last customer network

This commit is contained in:
Sukru Senli 2017-06-22 15:08:05 +02:00
parent 92e23a0bfc
commit 425bbafd83

View file

@ -8,7 +8,8 @@
local action ipaddr macaddr network
timed_check() {
ubus call repeater get_creds '{"network":"lan","file":"/tmp/wificontrol.txt"}'
network=${network:lan}
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
wificontrol --router
}