projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f929d1e
)
Removing legacy code for detecting removable usb sticks on kernels prior 2.6.29.
author
Daniel Baumann
<daniel@debian.org>
Thu, 25 Nov 2010 13:59:33 +0000
(14:59 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:59:20 +0000
(17:59 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
90eca0f
..
1baf82e
100755
(executable)
--- 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