git: 424d07c5260b - stable/15 - rc.d/bthidd: Correct load_kld invocations

Li-Wen Hsu <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a73e572.38651.2beaec40__38219.0988444322$1785980293$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=424d07c5260b46835fdec9dcba7cb68685a5c5f1

commit 424d07c5260b46835fdec9dcba7cb68685a5c5f1
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-07-31 18:05:03 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-06 01:35:23 +0000

    rc.d/bthidd: Correct load_kld invocations
    
    Pass a single module name to load_kld for kbdmux and vkbd, allowing
    bthidd_prestart to load both modules successfully.
    
    Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982)
---
 libexec/rc/rc.d/bthidd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/bthidd b/libexec/rc/rc.d/bthidd
index 275106a53d1e..6767391e1191 100755
--- a/libexec/rc/rc.d/bthidd
+++ b/libexec/rc/rc.d/bthidd
@@ -35,8 +35,8 @@ bthidd_prestart()
 	if evdev_enabled; then
 		load_kld -m uinput uinput
 	fi
-	load_kld kbdmux kbdmux
-	load_kld vkbd vkbd
+	load_kld kbdmux
+	load_kld vkbd
 	load_kld ng_btsocket
 	return 0
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.