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:
36ebde9
)
Removing quotes from udev path_id command to actually execute the command.
author
Daniel Baumann
<daniel@debian.org>
Thu, 1 Dec 2011 10:09:53 +0000
(11:09 +0100)
committer
Daniel Baumann
<daniel@debian.org>
Thu, 1 Dec 2011 10:09:53 +0000
(11:09 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
1b5c89e
..
8ffbc20
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-536,7
+536,7
@@
is_nice_device ()
PATH_ID="/sbin/udevadm test-builtin path_id"
fi
PATH_ID="/sbin/udevadm test-builtin path_id"
fi
- if
"${PATH_ID}"
"${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)"
+ if
${PATH_ID}
"${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)"
then
return 0
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
then
return 0
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'