Changeset 1403


Ignore:
Timestamp:
May 7, 2007, 11:47:55 AM (12 years ago)
Author:
bruno
Message:

Adds some useful log info for debugging at restore time in init

File:
1 edited

Legend:

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

    r1399 r1403  
    523523openvt 8 /usr/bin/tail -f $LOGFILE
    524524
     525# Log some useful info
     526echo "init (from mindi v$MINDI_VER-r${MINDI_REV}" >> $LOGFILE
     527echo "/proc/cmdline is:" >> $LOGFILE
     528cat /proc/cmdline  >> $LOGFILE
     529echo "Start date : `date`" >> $LOGFILE
     530echo "df result:" >> $LOGFILE
     531echo "----------" >> $LOGFILE
     532df >> $LOGFILE
     533echo "-------------" >> $LOGFILE
     534echo "mount result:" >> $LOGFILE
     535echo "-------------" >> $LOGFILE
     536mount >> $LOGFILE
     537echo "-------------" >> $LOGFILE
     538echo "lsmod result:" >> $LOGFILE
     539echo "-------------" >> $LOGFILE
     540lsmod >> $LOGFILE
     541echo "-------------" >> $LOGFILE
     542
    525543#-------------------------------
    526544#ABSORBENTANDYELLOWANDPOROUSISHE#;# --- don't touch this either :)
    527545#-------------------------------
    528 
    529 echo "Result of lsmod" >> $LOGFILE
    530 echo "---------------" >> $LOGFILE
    531 lsmod >> $LOGFILE
    532546
    533547#ctrlaltdel soft
Note: See TracChangeset for help on using the changeset viewer.