opnsense-src/libexec/rc
Dag-Erling Smørgrav 384006a4c5 rc.subr: Move the sleep in wait_for_pids
Instead of sleeping while constructing the list of PIDs to wait for,
sleep briefly after pwait to give init a chance to reap the processes
that just terminated before we loop around and start probing them.

PR:		289630
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D52619

(cherry picked from commit 5953e7c98427e038500221e885dffa181dcc064b)
2025-10-02 08:19:22 +00:00
..
rc.d virtual_oss: Port to base 2025-10-02 09:31:27 +02:00
tests rc.subr: Drop duplicate SPDX tag in test script 2025-08-02 01:19:37 +02:00
debug.sh Replace license with just SPDX BSD-2-Clause 2025-08-07 15:15:37 -07:00
hooks.sh Replace license with just SPDX BSD-2-Clause 2025-08-07 15:15:37 -07:00
Makefile debug.sh take advantage of hooks.sh 2024-09-10 12:04:15 -07:00
netstart libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
network.subr network.subr: correct return code in case of bad call to ifisup() 2025-07-01 21:33:19 +07:00
pccard_ether libexec/rc: improve performance of pccard_ether script 2025-07-01 21:13:10 +07:00
rc rc: Use check_jail to check values of security.jail MIBs 2025-07-12 18:20:32 +02:00
rc.bsdextended Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.conf Remove ftpd(8) 2025-10-01 11:28:40 +01:00
rc.firewall Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.initdiskless Update rc.initdiskless, fix error handling of remount_optional 2025-01-24 12:40:33 -07:00
rc.resume Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.shutdown rc: Use check_jail to check values of security.jail MIBs 2025-07-12 18:20:32 +02:00
rc.subr rc.subr: Move the sleep in wait_for_pids 2025-10-02 08:19:22 +00:00
rc.suspend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
safe_eval.sh Replace license with just SPDX BSD-2-Clause 2025-08-07 15:15:37 -07:00