bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit
This commit is contained in:
parent
7e3b2cdb55
commit
ccfb9118a3
2 changed files with 0 additions and 9 deletions
|
@ -837,9 +837,6 @@ The main feature of the interface is the ability to watch
|
||||||
battery life (see
|
battery life (see
|
||||||
.IR stats (8)).
|
.IR stats (8)).
|
||||||
It is not on by default because it causes problems on some laptops.
|
It is not on by default because it causes problems on some laptops.
|
||||||
.SS \fLusbwait=\fIvalue\fP
|
|
||||||
This changes the sleep time from the default 2 to value in cases of
|
|
||||||
USB devices taking a long time to come online.
|
|
||||||
.SS \fLnousbhname=\fP
|
.SS \fLnousbhname=\fP
|
||||||
When defined,
|
When defined,
|
||||||
.IR nusbrc (8)
|
.IR nusbrc (8)
|
||||||
|
|
|
@ -175,12 +175,6 @@ if(test -x /bin/aux/kbdfs){
|
||||||
if(test -x /bin/nusbrc && ! test -e /env/nousbrc)
|
if(test -x /bin/nusbrc && ! test -e /env/nousbrc)
|
||||||
nusbrc
|
nusbrc
|
||||||
|
|
||||||
# wait for devices to settle down
|
|
||||||
if(~ $#usbwait 1)
|
|
||||||
sleep $usbwait
|
|
||||||
if(~ $#usbwait 0)
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# load boot methods
|
# load boot methods
|
||||||
fn showlocaldevs {}
|
fn showlocaldevs {}
|
||||||
fn configlocal {}
|
fn configlocal {}
|
||||||
|
|
Loading…
Reference in a new issue