#----------------------------------------------------------------------------
# /etc/boot.d/rc100.ls120boot
#
# Creation:     2004-08-14 rresch
# Last Update:  $Id: rc100.idefdboot 6547 2004-09-20 08:13:41Z rresch $
#----------------------------------------------------------------------------

# search for boot-partition if no boot=... was found in append-line
if [ "$boot" = "" ]
then
    for i in hda hdb hdc hdd
    do
      if [ -f /proc/ide/$i/driver ]
      then
        if [ -n "`grep ide-floppy /proc/ide/$i/driver`" ]
        then
            boot=/dev/"$i"
            echo "Found IDE-Floppy on device /dev/$i"
            break
        fi
      fi
    done
fi

boot_dev=$boot
boot_fs=vfat
mount -r $boot_dev /boot -t $boot_fs || stop "can't mount boot-partition, check drivers"

read_config /boot/rc.cfg
    
extract_opt /boot/$opt_archive "$unzip_method" "you seem to be out of ram"
exec_scripts /opt/etc/prep
umount /boot

