summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p910nd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-p910nd')
-rwxr-xr-x[-rw-r--r--]applications/luci-p910nd/root/etc/uci-defaults/luci-p910nd6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-p910nd/root/etc/uci-defaults/luci-p910nd b/applications/luci-p910nd/root/etc/uci-defaults/luci-p910nd
index b37952e4d..80f6d62fa 100644..100755
--- a/applications/luci-p910nd/root/etc/uci-defaults/luci-p910nd
+++ b/applications/luci-p910nd/root/etc/uci-defaults/luci-p910nd
@@ -1,7 +1,11 @@
#!/bin/sh
-uci batch <<-EOF
+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