]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core179: Start OpenVPN N2N connections even if the RW server is disabled
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Aug 2023 10:11:28 +0000 (10:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Aug 2023 10:11:28 +0000 (10:11 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/179/update.sh

index df89d702ec29250460362890814df15751009740..09db135d52e74f2526bb63736e4c3d5db43552bb 100644 (file)
@@ -91,8 +91,8 @@ if [ -f /var/ipfire/proxy/enable ]; then
 fi
 if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
        /usr/local/bin/openvpnctrl -s
-       /usr/local/bin/openvpnctrl -sn2n
 fi
+/usr/local/bin/openvpnctrl -sn2n
 
 # This update needs a reboot...
 touch /var/run/need_reboot