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