aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/shr/initscripts-shr/palmpre/usb-gadget.sh
blob: d7554954d677e9fc67917f7f6406b354f1f96817 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# usb gadget configuration:
# there already different configurations on the palm pre defined,
# we choose nr 5 cause it provides the usbnet, novacom
# and storage gadget
if [ -e /sys/class/usb_gadget/config_num ]; then
	echo 5 > /sys/class/usb_gadget/config_num
fi