Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Fix devmatch config to be in-line with its current rc script #284

Open
wants to merge 3 commits into
base: trueos-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion libexec/rc/rc.devd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ getmedia() {
# Try and create an init script for network interfaces
base=${1%%.*}
if [ "${base}" = "network" ]; then
# We only create links for pyhsical interfaces
# We only create links for physical interfaces
[ -n "$(getmedia ${1#*.})" ] || exit 1
base="network.lo0"
fi
Expand Down
6 changes: 5 additions & 1 deletion sbin/devd/devmatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
#
# Generic NOMATCH event
nomatch 100 {
action "service devmatch quietstart '?'$_";
#FIXME: /sbin/service has not yet been updated to support devd -> devmatch events
# Once it is patched from FreeBSD upstream below can be switched back to using /sbin/service
# Please see ticket https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235257 for more details
# action "service devmatch quietstart '?'$_";
action "/etc/rc.d/devmatch quietstart '?'$_";
};

# Add the following to devd.conf to prevent this from running:
Expand Down