summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-olsr/root/etc')
-rwxr-xr-x[-rw-r--r--]applications/luci-olsr/root/etc/uci-defaults/luci-olsr6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-olsr/root/etc/uci-defaults/luci-olsr b/applications/luci-olsr/root/etc/uci-defaults/luci-olsr
index 2c38098a5..bbb707ee1 100644..100755
--- a/applications/luci-olsr/root/etc/uci-defaults/luci-olsr
+++ b/applications/luci-olsr/root/etc/uci-defaults/luci-olsr
@@ -1,7 +1,11 @@
#!/bin/sh
-uci batch <<-EOF
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@olsrd[-1]
add ucitrack olsrd
set ucitrack.@olsrd[-1].init=olsrd
commit ucitrack
EOF
+
+rm -f /tmp/luci-indexcache
+exit 0