X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=47674e659df21cc1236bbbef6c4ad7759fe7f4f8;hb=fb8b93068d2783844214bfa95feaffcc6df498cf;hp=d82efa59a566983db6ab77dcfcecbf21a75a26e4;hpb=9bc833a120690937fd2def5d2a8e79764c840791;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index d82efa5..47674e6 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -1,4 +1,4 @@ -# live-initramfs helper functions, used by live-initramfs on boot and by live-snapshot +# live-boot helper functions, used by live-boot on boot and by live-snapshot if [ ! -x "/bin/fstype" ] then @@ -309,7 +309,7 @@ find_cow_device () do devname=$(sys2dev "${dev}") - if echo "${black_listed_devices}" | grep -q "${devname}" + if echo "${black_listed_devices}" | grep -q -w "${devname}" then # skip this device enterely break @@ -408,7 +408,7 @@ find_files () devname=$(sys2dev "${dev}") devfstype="$(get_fstype ${devname})" - if echo "${black_listed_devices}" | grep -q "${devname}" + if echo "${black_listed_devices}" | grep -q -w "${devname}" then # skip this device enterely break