Add luci-app-dynapoint to repo LuCI Support for DynaPoint Dynapoint allows dynamic access point creation and deletion depending on changes of certain network conditions. More information: https://github.com/thuehn/dynapoint Signed-off-by: Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
13 lines
253 B
Bash
13 lines
253 B
Bash
#!/bin/sh
|
|
|
|
# needed for "Save and Apply" to restart dynapoint
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@dynapoint[-1]
|
|
add ucitrack dynapoint
|
|
set ucitrack.@dynapoint[-1].init="dynapoint"
|
|
commit dynapoint
|
|
EOF
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0
|
|
|