mount /srv/usb when it is there
This commit is contained in:
parent
74a7efc3a2
commit
4dcefa6941
1 changed files with 3 additions and 15 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue