Changeset 1097 in MondoRescue


Ignore:
Timestamp:
Feb 3, 2007, 11:30:40 PM (18 years ago)
Author:
Bruno Cornec
Message:

Fix messages in mindi reventing its use with mondo (-V option)

Location:
branches/stable/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/distributions/conf/mindi.conf.dist

    r1087 r1097  
    44#
    55# We tried to give sensible defaults in this file.
    6 # Changing some values may render mindi instable
    7 # or cause failures. Use with care.
     6# It will alwys be loaded by mindi before your own configuration files.
     7# DO NOT CHANGE THAT FILE IN ANYWAY AS ITS MD5 SUM IS USED AS A CHECK !!
     8# Anyway changing some values in your own configuration file may render
     9# mindi instable or cause failures. Use with care.
    810
    911#
  • branches/stable/mindi/mindi

    r1087 r1097  
    4848
    4949MINDI_CONFIG="$MINDI_CONF/mindi.conf"
    50 if [ ! -f $MINDI_CONFIG ]  && [ "$1" != "--printvar" ]; then
     50if [ ! -f $MINDI_CONFIG ]  && [ "_$1" = "_" ]; then
    5151    echo "No $MINDI_CONFIG file found using sensible values from $MINDI_CONFIG_DIST"
    5252else
    53     if [ "$1" != "--printvar" ]; then
     53    if [ "_$1" = "_" ]; then
    5454        echo "Using $MINDI_CONFIG as additional config file to $MINDI_CONFIG_DIST"
    5555    fi
     
    28982898fi
    28992899kernelname=`echo $kernelpath | cut -d'-' -f2-`
    2900 LogIt "kernelname = $kernelname"
    2901 LogIt "kernelpath = $kernelpath"
     2900echo "kernelname = $kernelname" >> $LOGFILE
     2901echo "kernelpath = $kernelpath" >> $LOGFILE
    29022902if [ ! -d "/lib/modules/$kernelname" ] && [ "$kernelpath" != "FAILSAFE" ]
    29032903then
    2904    LogIt "Module path for ${kernelpath} not found..."
    2905    LogIt "using running kernel\'s modules."
     2904   echo "Module path for ${kernelpath} not found..." >> $LOGFILE
     2905   echo "using running kernel\'s modules." >> $LOGFILE
    29062906   kernelname=`uname -r`
    29072907else
    2908    LogIt "Using modules for kernel: ${kernelname}"
     2908   echo "Using modules for kernel: ${kernelname}" >> $LOGFILE
    29092909fi
    29102910
     
    29762976IMAGE_DEVS=""
    29772977NFS_DEV=""
    2978 if [ _"$MONDO_SHARE" != _"" ]; then
    2979 fi
    29802978
    29812979#
Note: See TracChangeset for help on using the changeset viewer.