beagleboard / meta-beagleboard

Support for beagleboard.org devices
MIT License
71 stars 63 forks source link

Bashisms in g-ether-*.sh scripts installed by gadget-init.bb #13

Open Anguel opened 11 years ago

Anguel commented 11 years ago

Bashisms in https://github.com/beagleboard/meta-beagleboard/blob/master/meta-beagleboard-extras/recipes-support/usb-gadget/gadget-init/g-ether-load.sh

and

https://github.com/beagleboard/meta-beagleboard/blob/master/meta-beagleboard-extras/recipes-support/usb-gadget/gadget-init/g-ether-start-service.sh

prevent the scripts from running correctly.

Solution for g-ether-load.sh: remove all "function" keywords from script (line 3, 8, 25)

Solution for g-ether-start-service.sh: in line 2 replace "-a" with "-e"

Thanks for the support go to bluelightning and rburton in the OpenEmbedded IRC channel.

Anguel