mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-10 03:07:58 +01:00
netmode: remove already fixed todo
This commit is contained in:
parent
cd8244fb2a
commit
3d2301cdb0
1 changed files with 1 additions and 1 deletions
|
|
@ -17,10 +17,10 @@ while read event ; do
|
|||
json_get_var macaddr macaddr
|
||||
json_get_var ipaddr ipaddr
|
||||
json_get_var network netwrork "lan"
|
||||
|
||||
if echo $macaddr | grep -i -e "^00:22:07" -e "^44:D4:37" -e "^02:0C:07" -e "^06:0C:07"; then
|
||||
echo "netmode-client-detect: a new Inteno device detected on '$network' network (MACAddr:$macaddr IPAddr:$ipaddr)" >/dev/console
|
||||
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
|
||||
/sbin/wificontrol --router --destination $ipaddr
|
||||
fi
|
||||
# todo add macaddr
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue