summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radvd/root/etc/uci-defaults/luci-radvd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-radvd/root/etc/uci-defaults/luci-radvd')
-rwxr-xr-xapplications/luci-app-radvd/root/etc/uci-defaults/luci-radvd11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-radvd/root/etc/uci-defaults/luci-radvd b/applications/luci-app-radvd/root/etc/uci-defaults/luci-radvd
new file mode 100755
index 0000000000..c1f3b7546d
--- /dev/null
+++ b/applications/luci-app-radvd/root/etc/uci-defaults/luci-radvd
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+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