Install devmatch int /etc/rc.d and echo modules being installed.

This commit is contained in:
imp 2018-02-12 04:52:25 +00:00
parent 60be4b058e
commit 8d22013907
2 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ FILES= DAEMON \
defaultroute \
devd \
devfs \
devmatch \
dhclient \
dmesg \
dumpon \

View File

@ -33,7 +33,7 @@
. /etc/rc.subr
name="devmatch"
desc="Use devmatch(8) to load kernel modules
desc="Use devmatch(8) to load kernel modules"
start_cmd="${name}_start"
stop_cmd=':'
@ -46,7 +46,7 @@ devmatch_start()
[ -n "$x" ] || return
echo "Autoloading modules"
echo "Autoloading modules: ${x}"
kldload ${x}
}