libusbgx-config: l4t-gadget-config-setup: handle kernel module bridge as built-in

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
This commit is contained in:
Kurt Kiefer
2024-09-24 16:02:58 -07:00
committed by Matt Madison
parent 74fdc57c67
commit a15cc4ebf0

View File

@@ -1,5 +1,6 @@
#!/bin/sh
modprobe libcomposite bridge
[ -d /sys/module/libcomposite ] || modprobe libcomposite
[ -d /sys/module/bridge ] || modprobe bridge
[ -d /run/usbgx ] || mkdir /run/usbgx
[ ! -e /run/usbgx/l4t.schema ] || exit 0
if [ ! -e /usr/share/usbgx/l4t.schema.in ]; then