summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-01-31 13:51:16 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commite2c9be44a5cc3d9c4e9a1fcb2cf6518b7524f4ec (patch)
tree8568478e9ff94483a9958ccefe63ed94ff261a24 /scripts
parent45a44dfbaec9d819567afa12238d9181dfbff5e6 (diff)
downloadlive-boot-e2c9be44a5cc3d9c4e9a1fcb2cf6518b7524f4ec.tar.gz
live-boot-e2c9be44a5cc3d9c4e9a1fcb2cf6518b7524f4ec.zip
Adjusting grep call in is_nice_device to match new output of vol_id.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index ab2db29..1902429 100755
--- 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]$'