summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ahcp/root/etc/uci-defaults
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-10 16:47:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-10 16:47:00 +0000
commit2dd1080cd670da260a36dbcc1d83ecedc8d9a332 (patch)
tree48fb866a761ffdedc8367859a99ba2a61e07dfee /applications/luci-ahcp/root/etc/uci-defaults
parent1d2f948280aeff5071ab890e4ac50fa2caf436f9 (diff)
applications: add luci-ahcp, support for the AHCP server package
Diffstat (limited to 'applications/luci-ahcp/root/etc/uci-defaults')
-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 0000000000..f2b2487cac
--- /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