Page MenuHomeFreeBSD

D57707.id180156.diff
No OneTemporary

D57707.id180156.diff

diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch
--- a/libexec/rc/rc.d/devmatch
+++ b/libexec/rc/rc.d/devmatch
@@ -67,6 +67,7 @@
# names with .ko
devctl freeze
+ startmsg -n "Autoloading modules:"
x=$(echo "#${devmatch_blocklist:-${devmatch_blacklist}}#$(kenv -q devmatch_blocklist)#" | \
sed -e "s/ /#/g;s/\.ko#/#/g")
for m in ${list}; do
@@ -74,9 +75,10 @@
case "${x}" in
*"#${m}#"*) continue ;;
esac
- kldstat -q -n ${m} || \
- (startmsg "Autoloading module: ${m}"; kldload -n ${m})
+ startmsg -n " ${m}"
+ load_kld ${m}
done
+ startmsg "."
devctl thaw
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 25, 4:23 PM (13 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34149982
Default Alt Text
D57707.id180156.diff (612 B)

Event Timeline