Ignore:
Timestamp:
Mar 2, 2008, 12:38:35 AM (11 years ago)
Author:
bruno
Message:
  • Remove floppy support from mindi and mondo and adapt docs
  • Align more mindi with the version from stable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/rootfs/sbin/find-and-mount-cdrom

    r1826 r1885  
    7575    exit 0
    7676fi
    77 #mount /dev/fd0u1722 -t ext2 /mnt/floppy
    78 [ "$1" = "--second-try" ] && exit 1; # don't try to mount floppy drive
     77[ "$1" = "--second-try" ] && exit 1;
    7978if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg`" ] ; then
    8079    LogIt "Because you are using cdstream, I won't try to mount CD."
    8180    exit 0
    8281fi
    83 mount /dev/fd0 -t ext2 -o ro /mnt/floppy 2> /dev/null
    84 if [ "$?" -eq "0" ] ; then
    85     umount /mnt/floppy 2> /dev/null
    86     exit 1
    87 else
    88     LogIt "Please go to another PC, mount this CD and copy the data disk images" 1
    89     LogIt "from the CD's /images directory to blank 1.44MB floppy disks. You should" 1
    90     LogIt "use something like 'dd if=/mnt/cdrom/images/mindi-data-1.img of=/dev/fd0'" 1
    91     LogIt "for the first data disk, mindi-data-2.img for the second, and so on." 1
    92     LogIt "(If you are already booting from a floppy, please ignore this message.)" 1
    93     exit 2
    94 fi
    9582
    96 
    97 
    98 
     83LogIt "Unable to find and mount your CD-ROM" 1
     84LogIt "You probably miss the correct driver to support your CD-ROM drive" 1
     85exit 2
Note: See TracChangeset for help on using the changeset viewer.