ref: 9edabce311fcbd22d55d487b456a91bc4864fb2e
parent: b1ea16bd76983e92d426cb6a1f0b1626dae0c1d7
author: cinap_lenrek <cinap_lenrek@felloff.net>
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 {}--
⑨