summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dcwapd/root/etc/uci-defaults
diff options
context:
space:
mode:
authorCarey Sonsino <csonsino@gmail.com>2019-09-12 00:38:35 +0000
committerCarey Sonsino <csonsino@gmail.com>2019-10-08 14:10:52 +0000
commit838f1d8ca2a1696cfa0906a381900bc48045e4f8 (patch)
treed2c39461b67c9ff6e0cfe5649b41b236842a7fba /applications/luci-app-dcwapd/root/etc/uci-defaults
parentaed5e932e3bb06d5b97e435b0fd7b43e8e7c20e7 (diff)
luci-app-dcwapd: Add Dual Channel Wi-Fi AP Daemon Pages
Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com> Signed-off-by: Carey Sonsino <csonsino@gmail.com>
Diffstat (limited to 'applications/luci-app-dcwapd/root/etc/uci-defaults')
-rw-r--r--applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd b/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd
new file mode 100644
index 0000000000..36455f834f
--- /dev/null
+++ b/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# register commit handler
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@dcwapd[-1]
+ add ucitrack dcwapd
+ set ucitrack.@dcwapd[-1].init=dcwapd
+ commit ucitrack
+EOF
+
+exit 0