diff --git a/rc/bin/usbstart b/rc/bin/usbstart index 46d734cfa..a021e8901 100755 --- a/rc/bin/usbstart +++ b/rc/bin/usbstart @@ -3,22 +3,10 @@ if(test -r '#u'/usb) { if(! test -r /dev/usb) bind -a '#u' /dev - # /boot/boot may have started usbd, which starts all usb drivers - if (! ps | grep -s ' usbd$') + if(test -f /srv/usb) + mount -a /srv/usb /dev + if not usb/usbd } -if not if(test -r '#U'/usb0) { - if(! test -r /dev/usb0) - bind -a '#U' /dev - - # /boot/boot may have started usbd, usb/kb or usb/disk - if (! ps | grep -s ' usbd$') - usb/usbd - usb/usbmouse -a 2 - if (! ps | grep -s ' kb$') - usb/kb -k - usb/usbaudio -s usbaudio.$sysname -V - # usb/print -} exit ''