summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_ipsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 08:53:15 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 08:53:15 +0200
commit03e1d273acf3c182da69013288eda3a8f274153b (patch)
treee46e0008eac23c2c8b21d818995e735f2c91e50e /src/conf_mode/vpn_ipsec.py
parent037aa93f493648f6e99b796fce920ec63dbc994e (diff)
downloadvyos-1x-03e1d273acf3c182da69013288eda3a8f274153b.tar.gz
vyos-1x-03e1d273acf3c182da69013288eda3a8f274153b.zip
Revert "ipsec: T3643: move swanctl.conf to /run"
This reverts commit 95bbbb8bed92a60a320ff255c8b8656145f3c540.
Diffstat (limited to 'src/conf_mode/vpn_ipsec.py')
-rwxr-xr-xsrc/conf_mode/vpn_ipsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py
index 535e633ed..433c51e7e 100755
--- a/src/conf_mode/vpn_ipsec.py
+++ b/src/conf_mode/vpn_ipsec.py
@@ -386,7 +386,7 @@ def generate(ipsec):
render("/etc/ipsec.conf", "ipsec/ipsec.conf.tmpl", data)
render("/etc/ipsec.secrets", "ipsec/ipsec.secrets.tmpl", data)
render("/etc/strongswan.d/interfaces_use.conf", "ipsec/interfaces_use.conf.tmpl", data)
- render("/run/swanctl/swanctl.conf", "ipsec/swanctl.conf.tmpl", data)
+ render("/etc/swanctl/swanctl.conf", "ipsec/swanctl.conf.tmpl", data)
def resync_l2tp(ipsec):
if ipsec and not ipsec['l2tp_exists']: