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:
Michael Tremer
2019-01-21 17:40:12 +00:00
parent 517683eeb1
commit 38f6bdb740
3 changed files with 16 additions and 36 deletions

View File

@@ -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