summaryrefslogtreecommitdiffstats
path: root/recipes/adbd/files/adb-init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/adbd/files/adb-init')
-rwxr-xr-xrecipes/adbd/files/adb-init2
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
9case "$1" in 9case "$1" in
10start) 10start)
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