]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Instead of killing the 'watchdog' subshell and leaving a sleep for
authorbz <bz@FreeBSD.org>
Sun, 25 Jan 2009 10:31:45 +0000 (10:31 +0000)
committerbz <bz@FreeBSD.org>
Sun, 25 Jan 2009 10:31:45 +0000 (10:31 +0000)
commitfab213569d4abe1b3f77a508ee755fc9ffc13a23
tree657ebcdd6d6cc1998d440c086028fcdc55c38684
parent6dddd783411fa0cbeeaea41c84e34d0d1b4c03f5
Instead of killing the 'watchdog' subshell and leaving a sleep for
rcshutdown_timeout (normally 30s) around re-parented to init, make
sure both go away using pkill -P.

While noone normally notices this for the system shutdown, it helps for
cleanly shutting down trusted jails.
Found without a killall in the base system, which in rc.d/jail normally
ensures that all processes of a jail to be stopped will be killed.

Reviewed by: silence on current@
MFC after: 4 weeks
etc/rc.shutdown