aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Payet <contact@thibaultpayet.fr>2026-02-03 09:27:41 +0000
committerWarner Losh <imp@FreeBSD.org>2026-02-08 20:58:44 +0000
commitd3ed0e0ab06a1434032abd7f013d02611567fd43 (patch)
tree3c9e0fb5b9a8d80b45df338683ed7d7e1171a715
parent436af5715cdbea87de53d63fcc3762591d93b028 (diff)
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
-rwxr-xr-xlibexec/rc/rc.d/devmatch2
-rwxr-xr-xlibexec/rc/rc.d/kld2
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