Changeset 3005


Ignore:
Timestamp:
May 7, 2012, 3:46:12 AM (7 years ago)
Author:
bruno
Message:

r4731@localhost: bruno | 2012-05-07 02:48:45 +0200

  • Avoids useless warning by using the right regexp for 2.4.x kernel detection
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3004 r3005  
    254254    tar cf - -C / $mappath 2>> $MINDI_TMP/$$.log | (cd "$bigdir" ; tar xf -) || LogIt "WARNING: AKMF -- Could not copy $mappath to $bigdir" $MINDI_TMP/$$.log
    255255    if [ "`echo $mappath | grep -F ".gz"`" ] ; then
    256         included_list=`gzip -dc $mappath | grep -Fi include | sed s/'"'// | sed s/'"'// | cut -d' ' -f2`
    257     else
    258         included_list=`grep -Fi include $mappath | sed s/'"'// | sed s/'"'// | cut -d' ' -f2`
     256        included_list=`gzip -dc $mappath | grep -Fi include | sed s/'"'// | cut -d' ' -f2`
     257    else
     258        included_list=`grep -Fi include $mappath | sed s/'"'// | cut -d' ' -f2`
    259259    fi
    260260    for included_item in $included_list ; do
     
    28352835[ ! -e "$FDISK" ] && Die "Cannot find $FDISK"
    28362836
    2837 [ "`echo $KERVERRUN | grep "2.4.[0-6]" | grep -v "2.4.[0-9][0-9]"`" != "" ] &&  echo "WARNING! Your kernel may have buggy loopfs code. Consider upgrading to 2.4.7"
     2837[ "`echo $KERVERRUN | grep -E "2\.4\.[0-6]" | grep -vE "2\.4\.[0-9][0-9]"`" != "" ] &&  echo "WARNING! Your kernel may have buggy loopfs code. Consider upgrading to 2.4.7"
    28382838
    28392839# Update the PATH variable if incomplete
Note: See TracChangeset for help on using the changeset viewer.