summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-11-22 03:19:27 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-11-22 03:19:27 +0100
commitccfb9118a3bf19a0a943b3a7bbfddd82cf4ddc5b (patch)
tree901b3113d0fef0d9e5350634c699c1e39d3a46e2
parent7e3b2cdb557b49e0862079f38f14c777b9240e0f (diff)
bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit
-rw-r--r--sys/man/8/plan9.ini3
-rwxr-xr-xsys/src/9/boot/bootrc6
2 files changed, 0 insertions, 9 deletions
diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini
index d09fb09d0..a8cfc7ad5 100644
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -837,9 +837,6 @@ The main feature of the interface is the ability to watch
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)
diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc
index 208122f72..09cbd4b79 100755
--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -175,12 +175,6 @@ if(test -x /bin/aux/kbdfs){
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 {}