The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3e55170e0fa2695f6d662e3ab67201138a6f8698

commit 3e55170e0fa2695f6d662e3ab67201138a6f8698
Author:     Mark Johnston <ma...@freebsd.org>
AuthorDate: 2024-10-26 19:18:50 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2024-10-26 19:20:29 +0000

    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")
---
 libexec/rc/rc.d/kld | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/kld b/libexec/rc/rc.d/kld
index ac55c5cc97d8..37b14255abb9 100755
--- a/libexec/rc/rc.d/kld
+++ b/libexec/rc/rc.d/kld
@@ -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
 }
 

Reply via email to