Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
5082cc7fedfff6c28a1406c79606b09012b134bc
/
.
/
meta-openembedded
/
meta-oe
/
recipes-devtools
/
android-tools
/
android-tools-conf-configfs
/
android-gadget-start
blob: 76b5e29624bacac0876153badc33e000f39b8155 [
file
] [
log
] [
blame
]
#!/bin/sh
set
-
e
sleep
10
ls
/
sys
/
class
/
udc
/
|
head
-
n
1
|
xargs echo
-
n
>
/
sys
/
kernel
/
config
/
usb_gadget
/
adb
/
UDC
echo
"Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget usage"