From: Tim Yamin Date: Thu, 27 Jan 2005 19:35:25 +0000 (+0000) Subject: -eq >> = for the LVM and EVMS2 checks. X-Git-Tag: v3.4.10.902~587 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=715b9aafc2b0e409034d3a1982a174e3331a7eb6;p=genkernel.git -eq >> = for the LVM and EVMS2 checks. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@165 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_initrd.sh b/gen_initrd.sh index 9bc15c7..f8b1ebd 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -93,7 +93,7 @@ create_base_initrd_sys() { # gen_die "could not uncompress devfsd.conf" # LVM2 - if [ "${LVM2}" -eq '1' ] + if [ "${LVM2}" = '1' ] then if [ -e '/sbin/lvm' ] && ldd /sbin/lvm|grep -q 'not a dynamic executable'; then @@ -128,7 +128,7 @@ create_base_initrd_sys() { fi # EVMS2 - if [ "${CMD_EVMS2}" -eq '1' ] + if [ "${CMD_EVMS2}" = '1' ] then if [ -e '/sbin/evms_activate' ] then