diff options
author | Simon 'Morphis' Busch <morphis@gravedo.de> | 2010-01-20 18:14:42 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2010-01-20 18:14:42 +0100 |
commit | c87ea56a9e59dd4b3ddf67d900f4e14c1168bcd0 (patch) | |
tree | 8af6982d99943fbd57dde9acfc59ed25dcff5d38 /recipes/preboot/files/etc/init.d | |
parent | 78c0a878694ec91eb3c793e37642819bc3edc87a (diff) |
preboot: new recipe; a dual boot solution for the palm pre (WIP)
Diffstat (limited to 'recipes/preboot/files/etc/init.d')
-rw-r--r-- | recipes/preboot/files/etc/init.d/usbnet | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/preboot/files/etc/init.d/usbnet b/recipes/preboot/files/etc/init.d/usbnet new file mode 100644 index 0000000000..e6c7f4e412 --- /dev/null +++ b/recipes/preboot/files/etc/init.d/usbnet @@ -0,0 +1,9 @@ +#!/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 + |