freebsd-dev/etc/devd/devmatch.conf
Hans Petter Selasky 9a44db43ea Invoke devmatch rc.d script directly instead of depending on "service"
which is installed in usr/sbin and might not be available at the time
devd is started.

Sponsored by:	Mellanox Technologies
2018-02-17 13:13:55 +00:00

21 lines
453 B
Plaintext

#
# $FreeBSD$
#
#
# Example devd configuration file for automatically
# loading what modules we can based on nomatch
# events.
#
# Generic NOMATCH event
nomatch 100 {
action "/etc/rc.d/devmatch start '?$_'";
};
# Add the following to devd.conf to prevent this from running:
# nomatch 1000 {
# action "true";
# };
# it replaces the generic event with one of higher priority that
# does nothing. You can also set 'devmatch_enable=NO' in /etc/rc.conf