nusb: fix race
This commit is contained in:
parent
f9846213d1
commit
a2a95b615e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue