diff options
author | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-08-28 23:26:26 +0000 |
---|---|---|
committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2024-08-28 23:26:26 +0000 |
commit | 62775aebf725a79703592f3276118245a74afdac (patch) | |
tree | f6bfb14c5e55d27aada610e59b035c7bf77cad0c | |
parent | 18aef07cfac41fde763e1328366cc6e334bb9254 (diff) | |
download | src-62775aebf725a79703592f3276118245a74afdac.tar.gz src-62775aebf725a79703592f3276118245a74afdac.zip |
rc.d/devmatch: Silence sysctl hw.bus.devctl_nomatch_enabled=1
As with various other rc scripts, we don't want the output from this
being visible in the boot log.
Fixes: 6437872c1d66 ("New sysctl to disable NOMATCH until devmatch runs")
MFC after: 1 week
-rwxr-xr-x | libexec/rc/rc.d/devmatch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch index 21846355fcfe..0999159bb332 100755 --- a/libexec/rc/rc.d/devmatch +++ b/libexec/rc/rc.d/devmatch @@ -46,7 +46,7 @@ devmatch_start() if [ -n "$one_nomatch" ]; then list=$(devmatch -p "${one_nomatch}" | sort -u) else - sysctl hw.bus.devctl_nomatch_enabled=1 + sysctl hw.bus.devctl_nomatch_enabled=1 > /dev/null list=$(devmatch | sort -u) fi |