Changeset 2514 in MondoRescue


Ignore:
Timestamp:
Jan 4, 2010, 7:35:57 PM (14 years ago)
Author:
Bruno Cornec
Message:

Remove useless code from mindi and imrove logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2508 r2514  
    9494DEPLIST_FILE="$MINDI_CONF/deplist.conf"
    9595DEPLIST_FILE_MIN="$MINDI_CONF/deplist-minimal.conf"
    96 DEPLIST_DIR="$MINDI_CONF/deplist.d"
    97 
    9896DEPLIST_DIR="$MINDI_CONF/deplist.d"
    9997
     
    14971495            LogAll "----------- syslinux's errors --------------"
    14981496            cat $MINDI_TMP/syslinux.log |tee -a $LOGFILE
    1499             LogAll "------------------------------------------"
     1497            echo "------------------------------------------"
    15001498            LogAll "Failed to create USB image."
    15011499        else
     
    18371835    echo -e "$DONE"
    18381836    TOTAL_BIGDIR_SIZE=`du -sk $bigdir | cut -f1`
    1839     CheckMountlist $MINDI_TMP/mountlist.txt
    18401837    mkdir -p $bigdir/tmp
    18411838    if [ $LVM != "false" ]; then
     
    21212118    echo `cat $MINDI_TMP/mnt.lis` `sort -u $MINDI_TMP/deps.lis` >> $MINDI_TMP/cp.lis
    21222119    rm -f $MINDI_TMP/deps.lis $MINDI_TMP/mnt.lis
    2123 
    2124     # Copy of files mandatory for ssh to automate mount if sshfs is used
    2125     mkdir $mountpoint/.ssh
    2126     cp -rp ~root/.ssh/*.pub ~root/.ssh/config ~root/.ssh/known* $mountpoint/.ssh 2> /dev/null
    2127     echo > $mountpoint/tmp/myssh << EOF
    2128 ssh -o StrictHostKeyChecking=no $*
    2129 EOF
    2130     chmod 755 $mountpoint/tmp/myssh
    21312120
    21322121    # Copy of files mandatory for ld.so
     
    22982287    (cd $mountpoint ; ls -Rla ) >> $LOGFILE
    22992288    LogFile "---------------------------"
    2300 
    2301 
    2302     echo "---------------------------" >> $LOGFILE
    2303     echo "Content of initial ramdisk:" >> $LOGFILE
    2304     echo "---------------------------" >> $LOGFILE
    2305     (cd $mountpoint ; ls -Rla ) >> $LOGFILE
    2306     echo "---------------------------" >> $LOGFILE
    23072289
    23082290    # Determine what filesystem to use for initrd image
Note: See TracChangeset for help on using the changeset viewer.