# HG changeset patch # User Antoine Bodin # Date 1296601381 -3600 # Node ID 1b8bc5eabf597069f657a28fe8bc85a2511fcba3 # Parent 7335644645cfd4a1c1d0ea4220cbf48a404561ba Fix: some hardware needs 1sec more to detect USB devices diff -r 7335644645cf -r 1b8bc5eabf59 etc/init.d/bootopts.sh --- a/etc/init.d/bootopts.sh Sun Jan 23 00:59:18 2011 +0000 +++ b/etc/init.d/bootopts.sh Wed Feb 02 00:03:01 2011 +0100 @@ -93,7 +93,7 @@ [ "$DEVICE" = "usb" ] && DEVICE=sda1 echo "Home has been specified to $DEVICE..." USBDELAY=`cat /sys/module/usb_storage/parameters/delay_use` - USBDELAY=$((1+$USBDELAY)) + USBDELAY=$((2+$USBDELAY)) echo "Sleeping $USBDELAY s to let the kernel detect the device... " sleep $USBDELAY USER=`cat /etc/passwd | grep 1000 | cut -d ":" -f 1`