git: d690bf86d2c8 - stable/14 - rc.d/bthidd: Correct load_kld invocations

Li-Wen Hsu <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src,gmane.os.freebsd.devel.stable.scm
Message-ID <[email protected]>
The branch stable/14 has been updated by lwhsu:

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

commit d690bf86d2c87d2f3f4c2cbed10deb8d065fe2df
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:19 +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 624b2b1be00f..b01fefcde474 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.