diff options
| author | Daniel Baumann <daniel@debian.org> | 2011-12-01 11:09:53 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-12-01 11:09:53 +0100 |
| commit | 3099ec887a4e8c3d7567ac99de855254670c45d6 (patch) | |
| tree | 8f0f49f757d743bcd2be1c8d19fa0a9368bc1de8 /scripts | |
| parent | 36ebde9b06f4b0d9be5cb6df567561dbbede2026 (diff) | |
| download | live-boot-3099ec887a4e8c3d7567ac99de855254670c45d6.tar.gz live-boot-3099ec887a4e8c3d7567ac99de855254670c45d6.zip | |
Removing quotes from udev path_id command to actually execute the command.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live index 1b5c89e..8ffbc20 100755 --- a/scripts/live +++ b/scripts/live @@ -536,7 +536,7 @@ is_nice_device () 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]$' |
