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:	152382e6613d ("rc.d/kld: Print the kernel modules being loaded")

(cherry picked from commit 3e55170e0fa2695f6d662e3ab67201138a6f8698)
This commit is contained in:
Mark Johnston 2024-10-26 19:18:50 +00:00
parent 2cb615d015
commit fc3c731bbf

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
}