Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144341364
D45954.id140810.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D45954.id140810.diff
View Options
diff --git a/release/Makefile b/release/Makefile
--- a/release/Makefile
+++ b/release/Makefile
@@ -183,6 +183,7 @@
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
+ echo hw.usb.no_boot_wait=\"0\" >> ${.TARGET}/boot/loader.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
@@ -220,6 +221,7 @@
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
+ echo hw.usb.no_boot_wait=\"0\" >> ${.TARGET}/boot/loader.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
@@ -255,6 +257,7 @@
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
+ echo hw.usb.no_boot_wait=\"0\" >> ${.TARGET}/boot/loader.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c
--- a/sys/dev/usb/controller/usb_controller.c
+++ b/sys/dev/usb/controller/usb_controller.c
@@ -92,7 +92,7 @@
#endif
#if USB_HAVE_ROOT_MOUNT_HOLD
-static int usb_no_boot_wait = 0;
+static int usb_no_boot_wait = 1;
SYSCTL_INT(_hw_usb, OID_AUTO, no_boot_wait, CTLFLAG_RDTUN, &usb_no_boot_wait, 0,
"No USB device enumerate waiting at boot.");
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 10:46 PM (3 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28507247
Default Alt Text
D45954.id140810.diff (1 KB)
Attached To
Mode
D45954: Set hw.usb.no_boot_wait=1 by default
Attached
Detach File
Event Timeline
Log In to Comment