diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-08-20 22:00:59 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-08-20 22:00:59 +0200 |
commit | 1e0c88e13f086226fe7dae3bd9e2fcb6aa557422 (patch) | |
tree | 381022d140566f403003bc57658146f70ac13f93 /install | |
parent | 67ff8687695c34818c7207e334c01d10ae6ce76c (diff) | |
download | mkinitcpio-1e0c88e13f086226fe7dae3bd9e2fcb6aa557422.tar.gz mkinitcpio-1e0c88e13f086226fe7dae3bd9e2fcb6aa557422.tar.xz |
Cleaned up extra grep calls (real minor change)
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@163 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install')
-rw-r--r-- | install/autodetect | 2 |
1 files changed, 1 insertions, 1 deletions
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})" ':') |