#!/bin/sh
#----------------------------------------------------------------------------
# /etc/rc.d/rc900.hdinstall - append setup-tip to /.profile
#
# Creation:        07.01.2002  hs
# Last Update:     $Id: rc900.hdinstall 9566 2005-08-12 21:51:07Z jw5 $
#----------------------------------------------------------------------------

case $OPT_HDINSTALL in
yes)
    begin_script HDINSTALL "preparing hd installation ..."

    if [ "$OPT_MENU" != "yes" -a ! -f /boot/hd.cfg ]
    then
        echo 'colecho "Please enter \c" gn' >> /.profile
        echo 'colecho "hdinstall.sh\c" br x br' >> /.profile
        echo 'colecho "\c"' >> /.profile
        echo 'colecho " to install fli4l on HD!" gn' >> /.profile
        echo "echo" >> /.profile
    fi

    echo "$HDINSTALL_RECOVERYTIME" > /var/run/hdinstall_recoverytime

    if [ -f /boot/hd.cfg ]
    then
        rm /etc/menu/700-hdinstall
    fi

    end_script
;;
esac
