X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-premount%2F10driver_updates;h=546d3ca689775c56a4c97aca15941ff6d49e97be;hb=344fb6b7c015afe8f3878926d2fccba88c616aac;hp=7f5c4c40316fe7c0605cb5072149f2dea1463cfc;hpb=74f8c4c954a06ebc99be06ad8b77e0ef0880b30e;p=live-boot-grml.git diff --git a/scripts/live-premount/10driver_updates b/scripts/live-premount/10driver_updates index 7f5c4c4..546d3ca 100755 --- a/scripts/live-premount/10driver_updates +++ b/scripts/live-premount/10driver_updates @@ -38,7 +38,7 @@ is_updates_path() { is_nice_device() { sysfs_path="${1#/sys}" - if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-[ide|scsi|usb])"; then + if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb))"; then return 0 fi return 1