ref: ccfb9118a3bf19a0a943b3a7bbfddd82cf4ddc5b
parent: 7e3b2cdb557b49e0862079f38f14c777b9240e0f
author: cinap_lenrek <[email protected]>
date: Sat Nov 21 22:19:27 EST 2015
bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -837,9 +837,6 @@
battery life (see
.IR stats (8)).
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
When defined,
.IR nusbrc (8)
--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -175,12 +175,6 @@
if(test -x /bin/nusbrc && ! test -e /env/nousbrc)
nusbrc
-# wait for devices to settle down
-if(~ $#usbwait 1)
- sleep $usbwait
-if(~ $#usbwait 0)
- sleep 2
-
# load boot methods
fn showlocaldevs {}
fn configlocal {}