]> git.ipfire.org Git - people/stevee/network.git/commitdiff
ipsec: fix enable and disable
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 5 Aug 2017 10:30:30 +0000 (12:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Aug 2017 10:47:39 +0000 (12:47 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index 4b8ce1bf5666bf42b0d9530d7192f14583fecfbf..14d5ef696911fde63b7124bf81d1411692efab72 100644 (file)
@@ -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
 }