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:
45a44df
)
Adjusting grep call in is_nice_device to match new output of vol_id.
author
Tzafrir Cohen
<tzafrir.cohen@xorcom.com>
Sun, 31 Jan 2010 12:51:16 +0000
(13:51 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:06 +0000
(17:48 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
ab2db29
..
1902429
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-611,7
+611,7
@@
is_nice_device ()
{
sysfs_path="${1#/sys}"
- if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-
[^-]*-(ide|scsi|usb)
)"
+ if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-)"
then
return 0
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'