git: d3ed0e0ab06a - main - rc.d: Convert more service to Use startmsg
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Feb 2026 20:58:47 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=d3ed0e0ab06a1434032abd7f013d02611567fd43
commit d3ed0e0ab06a1434032abd7f013d02611567fd43
Author: Thibault Payet <contact@thibaultpayet.fr>
AuthorDate: 2026-02-03 09:27:41 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-02-08 20:58:44 +0000
rc.d: Convert more service to Use startmsg
Signed-off-by: Thibault Payet <contact@thibaultpayet.fr>
Reviewed by: imp,mhorne
Pull Request: https://github.com/freebsd/freebsd-src/pull/2001
---
libexec/rc/rc.d/devmatch | 2 +-
libexec/rc/rc.d/kld | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch
index 7a8726de5677..4709be1d6588 100755
--- a/libexec/rc/rc.d/devmatch
+++ b/libexec/rc/rc.d/devmatch
@@ -75,7 +75,7 @@ devmatch_start()
*"#${m}#"*) continue ;;
esac
kldstat -q -n ${m} || \
- (echo "Autoloading module: ${m}"; kldload -n ${m})
+ (startmsg "Autoloading module: ${m}"; kldload -n ${m})
done
devctl thaw
}
diff --git a/libexec/rc/rc.d/kld b/libexec/rc/rc.d/kld
index 37b14255abb9..d18ba2f08346 100755
--- a/libexec/rc/rc.d/kld
+++ b/libexec/rc/rc.d/kld
@@ -44,7 +44,7 @@ kld_start()
local _kld
- echo 'Loading kernel modules:' $kld_list
+ startmsg "Loading kernel modules: ${kld_list}"
for _kld in $kld_list ; do
load_kld -e ${_kld}.ko $_kld
done