ipsec: Wait longer for starter to quit before killing it.

As starter waits up to 10 seconds for either daemon to quit, killing it
already after 5 seconds is too early.
This commit is contained in:
Tobias Brunner 2011-05-26 12:43:01 +02:00
parent ae9d5e7ce1
commit 608657519a

View File

@ -326,7 +326,7 @@ stop)
if [ -n "$spid" ]
then
kill $spid 2>/dev/null
loop=5
loop=11
while [ $loop -gt 0 ] ; do
kill -0 $spid 2>/dev/null || break
sleep 1