Ignore:
Timestamp:
May 7, 2007, 3:40:49 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Log improvements again during restore
  • Fix a bug where mondorestore.log was truncated
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/rootfs/sbin/init

    r1408 r1414  
    426426    install-additional-tools
    427427    echo "Inserting modules ..."
    428     insert-all-my-modules > $LOGFILE 2> $LOGFILE
     428    insert-all-my-modules >> $LOGFILE 2>> $LOGFILE
    429429}
    430430
     
    524524
    525525# Log some useful info
    526 echo "init (from mindi v$MINDI_VER-r${MINDI_REV}" >> $LOGFILE
    527 echo "/proc/cmdline is:" >> $LOGFILE
     526LogIt "init (from mindi v$MINDI_VER-r${MINDI_REV}"
     527LogIt "/proc/cmdline is:"
    528528cat /proc/cmdline  >> $LOGFILE
    529 echo "Start date : `date`" >> $LOGFILE
    530 echo "df result:" >> $LOGFILE
    531 echo "----------" >> $LOGFILE
     529LogIt "df result:"
     530LogIt "----------"
    532531df >> $LOGFILE
    533 echo "-------------" >> $LOGFILE
    534 echo "mount result:" >> $LOGFILE
    535 echo "-------------" >> $LOGFILE
     532LogIt "-------------"
     533LogIt "mount result:"
     534LogIt "-------------"
    536535mount >> $LOGFILE
    537 echo "-------------" >> $LOGFILE
    538 echo "lsmod result:" >> $LOGFILE
    539 echo "-------------" >> $LOGFILE
     536LogIt "-------------"
     537LogIt "lsmod result:"
     538LogIt "-------------"
    540539lsmod >> $LOGFILE
    541 echo "-------------" >> $LOGFILE
     540LogIt "-------------"
    542541
    543542#-------------------------------
     
    566565umount /mnt/cdrom 2> /dev/null
    567566mount / -o rw,remount > /dev/null 2> /dev/null
     567LogIt "Launching Shell"
    568568sh
    569569CaughtSoftReset
Note: See TracChangeset for help on using the changeset viewer.