1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

rc.d/kld: Print modules being loaded, take three

Some kernel modules will print informative messages when they are
loaded, making the output confusing.  Print everything up front instead.

Fixes:	152382e661 ("rc.d/kld: Print the kernel modules being loaded")
This commit is contained in:
Mark Johnston 2024-10-26 19:18:50 +00:00
parent cdb3cda6fd
commit 3e55170e0f

View File

@ -44,10 +44,9 @@ kld_start()
local _kld
echo -n 'Loading kernel modules:'
echo 'Loading kernel modules:' $kld_list
for _kld in $kld_list ; do
load_kld -e ${_kld}.ko $_kld
echo -n " ${_kld}"
done
}