summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ahcp/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ahcp/root')
-rwxr-xr-xapplications/luci-ahcp/root/etc/uci-defaults/luci-ahcp11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-ahcp/root/etc/uci-defaults/luci-ahcp b/applications/luci-ahcp/root/etc/uci-defaults/luci-ahcp
new file mode 100755
index 000000000..f2b2487ca
--- /dev/null
+++ b/applications/luci-ahcp/root/etc/uci-defaults/luci-ahcp
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@ahcpd[-1]
+ add ucitrack ahcpd
+ set ucitrack.@ahcpd[-1].init=ahcpd
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0