diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-11-25 14:59:33 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:59:20 +0100 |
| commit | 59a3bf0fc95889a3c4034829dec5492c5108aec9 (patch) | |
| tree | decba95b950b3d7b8eb90cb7232b37e1ae4c0eff /scripts | |
| parent | f929d1e79554ac18a43b62c177b52c91f2b4b78c (diff) | |
| download | live-boot-59a3bf0fc95889a3c4034829dec5492c5108aec9.tar.gz live-boot-59a3bf0fc95889a3c4034829dec5492c5108aec9.zip | |
Removing legacy code for detecting removable usb sticks on kernels prior 2.6.29.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live index 90eca0f..1baf82e 100755 --- a/scripts/live +++ b/scripts/live @@ -1635,8 +1635,7 @@ find_livefs () do if [ "$(cat ${sysblock}/removable)" = "1" ] then - if readlink ${sysblock} | grep -q usb || - readlink ${sysblock}/device | grep -q usb # linux < 2.6.29 + if readlink ${sysblock} | grep -q usb then for dev in $(subdevices "${sysblock}") do |
