Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2024 01:10:43 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bba8c461b995 - stable/14 - rc.d/kld: Print the kernel modules being loaded
Message-ID:  <202411090110.4A91AhVt007786@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by markj:

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

commit bba8c461b995de8b13ec724fc6f82457280b4dd6
Author:     Mark Felder <feld@FreeBSD.org>
AuthorDate: 2024-10-26 18:43:46 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-09 01:09:29 +0000

    rc.d/kld: Print the kernel modules being loaded
    
    PR:             282269
    MFC after:      2 weeks
    
    (cherry picked from commit 152382e6613d7998fe6f5233767df54d3fdec329)
---
 libexec/rc/rc.d/kld | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/kld b/libexec/rc/rc.d/kld
index 510884a117d0..4cfc94cb07fc 100755
--- a/libexec/rc/rc.d/kld
+++ b/libexec/rc/rc.d/kld
@@ -44,10 +44,12 @@ kld_start()
 
 	local _kld
 
-	echo 'Loading kernel modules:'
+	echo -n 'Loading kernel modules: '
 	for _kld in $kld_list ; do
 		load_kld -e ${_kld}.ko $_kld
+		echo -n "${_kld} "
 	done
+	echo
 }
 
 load_rc_config $name



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411090110.4A91AhVt007786>