mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
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.
This commit is contained in:
parent
464996af84
commit
f5dade45cc
@ -4,9 +4,6 @@ USB_RESET_ON="<usbconfig_reset>1</usbconfig_reset>"
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user