diff options
Diffstat (limited to 'recipes/adbd/files/adb-init')
-rwxr-xr-x | recipes/adbd/files/adb-init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/adbd/files/adb-init b/recipes/adbd/files/adb-init index e88df23..6faed60 100755 --- a/recipes/adbd/files/adb-init +++ b/recipes/adbd/files/adb-init | |||
@@ -8,7 +8,7 @@ SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | |||
8 | 8 | ||
9 | case "$1" in | 9 | case "$1" in |
10 | start) | 10 | start) |
11 | insmod $(busybox find /lib/modules/$(uname -r) -name "g_ffs.ko") idVendor=${VENDOR} idProduct=${PRODUCT} iSerialNumber=${SERIAL} | 11 | modprobe g_ffs idVendor=${VENDOR} idProduct=${PRODUCT} iSerialNumber=${SERIAL} |
12 | mkdir -p /dev/usb-ffs | 12 | mkdir -p /dev/usb-ffs |
13 | chmod 770 /dev/usb-ffs | 13 | chmod 770 /dev/usb-ffs |
14 | mkdir -p /dev/usb-ffs/adb | 14 | mkdir -p /dev/usb-ffs/adb |