mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-07 09:50:50 +01:00
inteno-netmodes: netmode-client-detect: use the last customer network
This commit is contained in:
parent
92e23a0bfc
commit
425bbafd83
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue