Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- src/functions/functions.ipsec | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/src/functions/functions.ipsec b/src/functions/functions.ipsec index 4b8ce1b..14d5ef6 100644 --- a/src/functions/functions.ipsec +++ b/src/functions/functions.ipsec @@ -222,8 +222,6 @@ ipsec_connection_disable() { return ${EXIT_ERROR} fi
- ipsec_reload ${connection} - # Configure strongswan autostart ipsec_strongswan_autostart } @@ -236,8 +234,6 @@ ipsec_connection_enable() { return ${EXIT_ERROR} fi
- ipsec_reload "${connection}" - # Configure strongswan autostart ipsec_strongswan_autostart }
Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- src/functions/functions.ipsec | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/functions/functions.ipsec b/src/functions/functions.ipsec index 14d5ef6..38ee0ee 100644 --- a/src/functions/functions.ipsec +++ b/src/functions/functions.ipsec @@ -404,6 +404,7 @@ ipsec_reload() { return ${EXIT_ERROR} fi else + log DEBUG "Deleting strongswan config ${NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR}/${connection}.conf" unlink "${NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR}/${connection}.conf" fi