Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160306549
D57707.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
612 B
Referenced Files
None
Subscribers
None
D57707.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D57707: rc: Make devmatch use load_kld
Attached
Detach File
Event Timeline
Log In to Comment