inteno netmodes: generate the creds file before sending it

This commit is contained in:
Alex Oprea 2017-06-22 14:58:56 +02:00
parent 6d38f1ed82
commit c9e26055b6

View file

@ -9,6 +9,7 @@ local action ipaddr macaddr network
timed_check() {
while true; do
ubus call repeater get_creds '{"network":"lan","file":"/tmp/wificontrol.txt"}'
wificontrol --router
sleep $1
done