From f5dade45cc021debce7a01becde8103d1492864b Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 27 Feb 2019 12:21:10 +0100 Subject: [PATCH] Revert ""Reset usb on boot" add sleep, since we can't seem to detect the initial usb detection is still active...." This reverts commit a0fb31c652386ef6d4f161950bf8a79c87035624. --- src/etc/rc.syshook.d/early/01-usbconfig_reset | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/etc/rc.syshook.d/early/01-usbconfig_reset b/src/etc/rc.syshook.d/early/01-usbconfig_reset index 3c137d373..42ed8a3d5 100755 --- a/src/etc/rc.syshook.d/early/01-usbconfig_reset +++ b/src/etc/rc.syshook.d/early/01-usbconfig_reset @@ -4,9 +4,6 @@ USB_RESET_ON="1" if [ -f /conf/config.xml ]; then if [ "$(grep -c "${USB_RESET_ON}" /conf/config.xml)" != "0" ]; then - # XXX: suboptiomal, it seems impossible to detect if usb probe during boot is actually finished. - sleep 10 /usr/sbin/usbconfig reset >/dev/null 2>&1 - exit 0 fi fi