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


Ignore:
Timestamp:
Oct 8, 2007, 8:08:15 PM (17 years ago)
Author:
Bruno Cornec
Message:

tabs improvement

File:
1 edited

Legend:

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

    r1663 r1675  
    368368        mount_cmd="mount /dev/shm -t tmpfs -o size=$size" ; # was 34m until 04/2003
    369369        LogIt "Trying '$mount_cmd'"
    370     $mount_cmd /tmp/tmpfs 2>> $LOGFILE
    371     res=$?
    372     [ "$res" -eq "0" ] && break
     370        $mount_cmd /tmp/tmpfs 2>> $LOGFILE
     371        res=$?
     372        [ "$res" -eq "0" ] && break
    373373    done
    374374    if [ "$res" -ne "0" ] ; then
    375375        LogIt "Failed. I could not run '$mount_cmd /tmp/tmpfs'. Your kernel is BROKEN or you do not have enough RAM." 1
    376376        umount /tmp/tmpfs > /dev/null 2> /dev/null
    377     rmdir /tmp/tmpfs
     377        rmdir /tmp/tmpfs
    378378        ln -sf /mnt/RESTORING/tmp /tmp/tmpfs; # used by mondo-restore
    379     LogIt "Failed to mount /tmp/tmpfs; using ugly softlink instead"
     379        LogIt "Failed to mount /tmp/tmpfs; using ugly softlink instead"
    380380    else
    381381        LogIt "Great. Pivot succeeded w/ size=$size" 1
     
    441441export PATH GROOVY USER LOGFILE
    442442
    443 echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV}"
     443echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV})"
    444444
    445445mount -o remount rw /
Note: See TracChangeset for help on using the changeset viewer.