Changeset 1731


Ignore:
Timestamp:
Oct 29, 2007, 2:10:49 PM (12 years ago)
Author:
bruno
Message:

Do not do softlinks anymore as they are useless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/rootfs/sbin/untar-and-softlink

    r866 r1731  
    1919diskno=$1
    2020untar_path=$2
    21 softlink_path=$3
     21#softlink_path=$3
    2222tarball=$mountpoint/$diskno.tar.gz
    2323if [ -e "/tmp/CDROM-LIVES-HERE" ] ; then
     
    3838counter=0
    3939for fname in `tar -zxvf $tarball` ; do
    40     [ -e "$softlink_path/$fname" ] && continue
    41     mkdir -p $softlink_path/$fname 2> /dev/null
    42     if [ ! -d "$untar_path/$fname" ] ; then
    43         rmdir $softlink_path/$fname 2> /dev/null
    44         ln -sf $untar_path/$fname $softlink_path/$fname
    45         sync;sync;sync
    46     fi
    4740    counter=$(($counter+1))
    4841    [ "$(($counter % 4))" -eq "0" ] && echo -en "\r\t\t\t\t\t\t\t\\"
Note: See TracChangeset for help on using the changeset viewer.