Changeset 746 in MondoRescue for branches/stable/mindi/rootfs/sbin/init


Ignore:
Timestamp:
Aug 5, 2006, 12:00:51 PM (18 years ago)
Author:
Bruno Cornec
Message:
  • Still trying to fix LABEL + LVM in mindi
  • Removed some X11 files remaining
  • remove some ps options not available with busybox
  • Use LOGFILE constantly in init & LogIt
File:
1 edited

Legend:

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

    r740 r746  
    7878    openvt 6 /bin/sh
    7979    openvt 7 /bin/sh /sbin/wait-for-petris
    80 #    openvt 8 /usr/bin/tail -f /tmp/mondo-restore.log
    8180}
    8281
     
    231230    LogIt "Devfs found. Testing kernel support..."
    232231    if [ ! -e "/dev/.devfsd" ] ; then
    233         mount -t devfs devfs /dev 2>> /tmp/mondo-restore.log
     232        mount -t devfs devfs /dev 2>> $LOGFILE
    234233            if [ "$?" -ne "0" ] ; then
    235234        LogIt "Error while trying to mount devfs"
     
    369368        mount_cmd="mount /dev/shm -t tmpfs -o size=$size" ; # was 34m until 04/2003
    370369        LogIt "Trying '$mount_cmd'"
    371     $mount_cmd /tmp/tmpfs 2>> /tmp/mondo-restore.log
     370    $mount_cmd /tmp/tmpfs 2>> /$LOGFILE
    372371    res=$?
    373372    [ "$res" -eq "0" ] && break
     
    518517fi
    519518hack-cfg-if-necessary || LogIt "Cannot find hack-cfg-if-necessary"
    520 openvt 8 /usr/bin/tail -f /tmp/mondo-restore.log
     519openvt 8 /usr/bin/tail -f $LOGFILE
    521520
    522521#-------------------------------
Note: See TracChangeset for help on using the changeset viewer.