From c9e26055b6a13e109fe661fa358af692caf4a012 Mon Sep 17 00:00:00 2001 From: Alex Oprea Date: Thu, 22 Jun 2017 14:58:56 +0200 Subject: [PATCH] inteno netmodes: generate the creds file before sending it --- inteno-netmodes/files/sbin/netmode-client-detect | 1 + 1 file changed, 1 insertion(+) diff --git a/inteno-netmodes/files/sbin/netmode-client-detect b/inteno-netmodes/files/sbin/netmode-client-detect index 5ca3dbd9e..ecefee25e 100755 --- a/inteno-netmodes/files/sbin/netmode-client-detect +++ b/inteno-netmodes/files/sbin/netmode-client-detect @@ -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