Ignore:
Timestamp:
Jul 27, 2007, 2:11:55 AM (17 years ago)
Author:
Bruno Cornec
Message:

Continue to remove floppy support

File:
1 edited

Legend:

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

    r866 r1581  
    1414# ---------------------- main ----------------------
    1515
    16 mountpoint=/mnt/floppy
     16mountpoint=""
    1717[ -e "/tmp/CDROM-LIVES-HERE" ] && mountpoint=/mnt/cdrom/images
    1818[ "$#" -eq "3" ] || Die "untar-and-softlink <tarball> <untar_to> <softlink_to>"
     
    2323if [ -e "/tmp/CDROM-LIVES-HERE" ] ; then
    2424    [ -e "$tarball" ] || LogIt "Can't find CD's $tarball" 1
    25 else
    26     while [ ! -f "$tarball" ] ; do
    27         echo -e -n "Please insert data (floppy) disk #$diskno and press ENTER."
    28         read line
    29         mount /dev/fd0 -t ext2 -o ro $mountpoint
    30         [ -f "$tarball" ] || umount $mountpoint ; # unmount if tarball not on disk
    31         echo -en "Working..."
    32     done
    3325fi
    3426
Note: See TracChangeset for help on using the changeset viewer.