-eq >> = for the LVM and EVMS2 checks.
authorTim Yamin <plasmaroo@gentoo.org>
Thu, 27 Jan 2005 19:35:25 +0000 (19:35 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Thu, 27 Jan 2005 19:35:25 +0000 (19:35 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@165 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_initrd.sh

index 9bc15c7784789416d917138cbf0c9741c9ee4b62..f8b1ebded19271b022e13b9d7cd302ec50c47749 100644 (file)
@@ -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