From 1e0c88e13f086226fe7dae3bd9e2fcb6aa557422 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 20 Aug 2006 20:00:59 +0000 Subject: Cleaned up extra grep calls (real minor change) git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@163 880c04e9-e011-0410-abf7-b926e227c9cd --- install/autodetect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/autodetect b/install/autodetect index 1887aa3..b4f7b59 100644 --- a/install/autodetect +++ b/install/autodetect @@ -12,7 +12,7 @@ install () #Filesystem detection, use sysfs instead of /proc findfs () { BDEV=/dev/mkinitcpio_dev - for blkdev in $(find /sys/block -name dev | grep -v loop | grep -v ram | grep -v fd); do + for blkdev in $(find /sys/block -name dev | grep -v -e loop -e ram -e fd); do unset FSTYPE rm -f $BDEV mknod $BDEV b $(/usr/lib/klibc/bin/replace "$(cat ${blkdev})" ':') -- cgit v1.2.3-24-g4f1b