From: Daniel Baumann Date: Wed, 29 Jul 2009 10:06:23 +0000 (+0200) Subject: Also updating USB device detection in initramfs script for linux 2.6.29 and newer. X-Git-Tag: debian/2.0.15-1~296 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=16a17528d1e6f5c9ee0ec5cae923195cdef91c80;p=live-boot-grml.git Also updating USB device detection in initramfs script for linux 2.6.29 and newer. --- diff --git a/scripts/live b/scripts/live index 89fcd50..f33ece7 100755 --- a/scripts/live +++ b/scripts/live @@ -1411,7 +1411,8 @@ find_livefs () do if [ "$(cat ${sysblock}/removable)" = "1" ] then - if readlink ${sysblock}/device | grep -q usb + if readlink ${sysblock} | grep -q usb || + readlink ${sysblock}/device | grep -q usb # linux < 2.6.29 then for dev in $(subdevices "${sysblock}") do