summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-libreswan/root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-libreswan/root/etc')
-rw-r--r--applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan b/applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan
new file mode 100644
index 0000000000..6383335666
--- /dev/null
+++ b/applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@libreswan[-1]
+ add ucitrack libreswan
+ set ucitrack.@libreswan[-1].init=ipsec
+ commit ucitrack
+EOF