mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-04 19:09:47 +00:00
Merge pull request #1980 from donaldsharp/tools_frr
tools: Cleanup shutdown
This commit is contained in:
commit
a7f38c2512
@ -187,7 +187,7 @@ stop()
|
|||||||
else
|
else
|
||||||
PIDFILE=`pidfile $inst`
|
PIDFILE=`pidfile $inst`
|
||||||
PID=`cat $PIDFILE 2>/dev/null`
|
PID=`cat $PIDFILE 2>/dev/null`
|
||||||
${SSD} --stop --quiet --retry=TERM/30/KILL/5 --oknodo --pidfile "$PIDFILE" --exec "$D_PATH/$1"
|
kill -2 $PID 2>/dev/null
|
||||||
#
|
#
|
||||||
# Now we have to wait until $DAEMON has _really_ stopped.
|
# Now we have to wait until $DAEMON has _really_ stopped.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user