Ignore:
Timestamp:
Jan 7, 2018, 2:52:31 PM (17 months ago)
Author:
bruno
Message:

Remove usage of groovy word to clarify what is done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/rootfs/etc/init.d/rcS

    r3661 r3697  
    155155    local old_pwd res
    156156    old_pwd=`pwd`
    157     cd $GROOVY
     157    cd $EXTRACTDIR
    158158    [ "$1" != "" ] && tapedev=$1
    159159    [ ! "$tapedev" ] && tapedev=`grep media-dev /tmp/mondorestore.cfg 2>/dev/null | tr -s ' ' ' ' | cut -d' ' -f2`
     
    244244    # Tape takes some time to appear
    245245    sleep 10
    246     cd $GROOVY
     246    cd $EXTRACTDIR
    247247    UntarTapeStuff $tapedev
    248248    res=$?
     
    785785        rm -rf /tmp.old
    786786        mkdir -p /tmp/tmpfs
    787         mkdir -p $GROOVY
     787        mkdir -p $EXTRACTDIR
    788788    echo "Done."
    789789    LogIt "Successfully mounted dynamic /tmp ramdisk"
     
    914914LOGFILE=/var/log/mondorestore.log
    915915PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/mondo:/usr/games
    916 GROOVY=/tmp/groovy-stuff
     916EXTRACTDIR=/tmp/extract
    917917USER=root
    918918ARCH=`uname -m`
    919919
    920 export PATH GROOVY USER LOGFILE ARCH
     920export PATH EXTRACTDIR USER LOGFILE ARCH
    921921
    922922mount -o remount,rw /
     
    939939mount /sys /sys -t sysfs
    940940
    941 [ ! "$GROOVY" ] && Die "I'm not groovy!"
    942 for i in $GROOVY /mnt/cdrom /mnt/isodir /var/local/petris /tmp/isodir; do
     941for i in $EXTRACTDIR /mnt/cdrom /mnt/isodir /var/local/petris /tmp/isodir; do
    943942    mkdir -p $i
    944943done
Note: See TracChangeset for help on using the changeset viewer.