-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
cleanup-cruft
Tim Yamin 20 years ago
parent 8e6b0de648
commit 715b9aafc2

@ -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

Loading…
Cancel
Save