summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-radvd/root/etc/uci-defaults
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-14 17:48:44 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-14 17:48:44 +0000
commit6811edb3d9fe289190fbc7337d372027a655daf8 (patch)
treee9019876b2aff8b48a853ded274ece488247a6d5 /applications/luci-radvd/root/etc/uci-defaults
parentba949a84f61729b1cbfecd2780b9c4d5095c2d51 (diff)
applications: revise uci-defaults scripts
Diffstat (limited to 'applications/luci-radvd/root/etc/uci-defaults')
-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 ba48221417..c1f3b7546d 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