Ignore:
Timestamp:
Apr 16, 2007, 4:13:59 PM (17 years ago)
Author:
Bruno Cornec
Message:

Log files are now consistent: mondoarchive.log for mondoarchive (containing also mindi.log) and mondorestore.log for mondorestore (copied from /tmp (ram) to /var/log (disk) at the end of the restore)
One include has been created for each bianry containing only that declaration ofr the moment, but which will be extended to include all local definitions (ps_* e.g.)
Doc updated accordingly
LOGFILE in restore process is now passed in the environment and not duplicated anymore
LogIt is not redifined either
LOGFILE should be put in environment by mondoarchive for mindi's usage but that's a step left for later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mindi/rootfs/sbin/install-additional-tools

    r866 r1315  
    4343    biggiefsize=`cat $stub.size`
    4444    rm -f $stub.name $stub.size
    45 #    echo -e -n "\rRecombining #$biggienumber ($biggiefname)        \r"
    4645    > /tmp/out.dat
    4746    sliceno=0
     
    5251        slicefile="$slicefile"$sliceno
    5352        [ ! -e "$slicefile" ] && break
    54 #   echo "biggienumber=$biggienumber slicefile=$slicefile" >> /tmp/mondo-restore.log
    5553        cat $slicefile >> /tmp/out.dat
    5654        rm -f $slicefile
    5755        sliceno=$(($sliceno+1))
    5856        done
    59 #    echo "$sliceno slices"
    6057
    61     echo "$biggiefname ($biggiefsize KB) restored. $sliceno slices." >> /tmp/mondo-restore.log
    62 
    63 #    cat $stub.[0-9]* > /tmp/out.dat
    64 #    rm -f $stub.*               ; # .[0-9]* for the slices, plus .name & .size
    65 
     58    echo "$biggiefname ($biggiefsize KB) restored. $sliceno slices." >> $LOGFILE
    6659
    6760    mkdir -p $biggiefname
Note: See TracChangeset for help on using the changeset viewer.