Skip to content

Commit

Permalink
Also updating USB device detection in initramfs script for linux 2.6.…
Browse files Browse the repository at this point in the history
…29 and newer.
  • Loading branch information
daniel-baumann committed Jul 29, 2009
1 parent aae1e2f commit a5a121a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/live
Expand Up @@ -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
Expand Down

0 comments on commit a5a121a

Please sign in to comment.