fix
This commit is contained in:
parent
227493cbca
commit
bd1595b074
1 changed files with 1 additions and 1 deletions
2
umsgadget.sh
Normal file → Executable file
2
umsgadget.sh
Normal file → Executable file
|
@ -11,7 +11,7 @@ if [ $# -eq 0 ]; then
|
|||
fi
|
||||
if [ $# -eq 1 ]; then
|
||||
if [ -d "/sys/kernel/config/usb_gadget/multiDeskBoard" ]; then
|
||||
echo "" > /sys/kernel/config/usb_gadget/multiDeskBoard/UDC
|
||||
# echo "" > /sys/kernel/config/usb_gadget/multiDeskBoard/UDC
|
||||
echo $1 > /sys/kernel/config/usb_gadget/multiDeskBoard/functions/mass_storage.usb1/lun.0/file
|
||||
ls /sys/class/udc > /sys/kernel/config/usb_gadget/multiDeskBoard/UDC
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue