luci/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint
ascob cd8096b0ce luci-app-dynapoint: new package
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>
2017-01-15 14:18:08 +01:00

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