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:
12439ff
)
Also updating USB device detection in initramfs script for linux 2.6.29 and newer.
author
Daniel Baumann
<daniel@debian.org>
Wed, 29 Jul 2009 10:06:23 +0000
(12:06 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000
(17:48 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
89fcd50
..
f33ece7
100755
(executable)
--- 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