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