Page MenuHomeFreeBSD

D57707.diff
No OneTemporary

D57707.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
Wed, Jun 24, 2:40 AM (4 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34149982
Default Alt Text
D57707.diff (612 B)

Event Timeline