1
0

usbstart 238 B

1234567891011
  1. #!/bin/rc
  2. # usbstart - start appropriate usb flavour
  3. if(test -r '#u'/usb) {
  4. if(! test -r /dev/usb)
  5. bind -a '#u' /dev
  6. # /boot/boot may have started usbd, which starts all usb drivers
  7. if (! ps | grep -s ' usbd$')
  8. usb/usbd
  9. }
  10. exit ''