mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
ipsec: Drop delayed restart setting
This is a very bad race-condition situation and is not solved by an unintuitive setting. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
eval $(/usr/local/bin/readhash /var/ipfire/vpn/settings)
|
||||
|
||||
sleep $VPN_DELAYED_START && /usr/local/bin/ipsecctrl S &
|
||||
|
||||
exit 0
|
||||
exec /usr/local/bin/ipsecctrl S
|
||||
|
||||
Reference in New Issue
Block a user