aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/bthidd
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-06-23 15:23:25 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-06-23 15:23:25 +0000
commitcfe1962a19259fea8f51673f4da6c96656776486 (patch)
treea49d49ec1291a5e471c2e11f15f4677ffd7bbe09 /libexec/rc/rc.d/bthidd
parent86950cf9ffe89b7978fca019019692b3ea492044 (diff)
rc: Fix improper use of load_kld
Fix scripts that needlessly used -e when the simpler -m would work, or that used -m when the module and file name are the same, or, in one particularly egregious case, used -m with the wrong name when using nothing at all would have worked just fine. MFC after: 1 week Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D57705
Diffstat (limited to 'libexec/rc/rc.d/bthidd')
-rwxr-xr-xlibexec/rc/rc.d/bthidd6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rc/rc.d/bthidd b/libexec/rc/rc.d/bthidd
index 4b230406c4d5..275106a53d1e 100755
--- a/libexec/rc/rc.d/bthidd
+++ b/libexec/rc/rc.d/bthidd
@@ -35,9 +35,9 @@ bthidd_prestart()
if evdev_enabled; then
load_kld -m uinput uinput
fi
- load_kld -m kbdmux kbdmux
- load_kld -m vkbd vkbd
- load_kld -m ng_btsocket ng_btsocket
+ load_kld kbdmux kbdmux
+ load_kld vkbd vkbd
+ load_kld ng_btsocket
return 0
}