summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan
diff options
context:
space:
mode:
authorJaymin Patel <jem.patel@gmail.com>2023-10-22 12:09:57 +0530
committerJo-Philipp Wich <jo@mein.io>2023-11-10 13:16:34 +0100
commit9f652445355258497fd7f8c7f06dd75f58cd64ce (patch)
tree17a23de32f15cc4f11f12fdac3a8e5375c889942 /applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan
parent5d3558f3f7eb96ea879e5d1c13a7baa1de5e7d25 (diff)
luci-app-libreswan: Add LuCI for Libreswan
LuCI Support for IPSec VPN (Libreswan) Signed-off-by: Jaymin Patel <jem.patel@gmail.com> [fix '15h' label typo] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-libreswan/root/etc/uci-defaults/802-luci-app-libreswan')
-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