nusb: fix race

This commit is contained in:
cinap_lenrek 2011-07-30 07:34:17 +02:00
parent f9846213d1
commit a2a95b615e

View file

@ -5,6 +5,8 @@ if(! bind -a '#u' /dev)
if(! nusb/usbd)
exit
bind -a '#σ/usb' /dev
fn dev {
switch($4){
case *03
@ -15,4 +17,3 @@ fn dev {
}
rc </dev/usbevent &
bind -a '#σ/usb' /dev