From: William Hubbs Date: Sun, 19 Jun 2011 18:15:35 +0000 (-0500) Subject: boot from local hd if no response to boot menu X-Git-Tag: CATALYST-2.0.10~3^2~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dacde1f4c05d6a5771ed9cb00480b57a2f6eec59;p=catalyst.git boot from local hd if no response to boot menu x-gentoo-bug: 141199 x-gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=141199 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) --- diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index ffd6794f..6f39196c 100644 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -257,6 +257,7 @@ case ${clst_hostarch} in kmsg=$1/isolinux/kernels.msg echo "default ${first}" > ${icfg} echo "timeout 150" >> ${icfg} + echo "ontimeout localhost" >> ${icfg} echo "prompt 1" >> ${icfg} echo "display boot.msg" >> ${icfg} echo "F1 kernels.msg" >> ${icfg} @@ -319,6 +320,10 @@ case ${clst_hostarch} in echo "label memtest86" >> $icfg echo " kernel memtest86" >> $icfg fi + echo >> $icfg + echo "label localhost" >> $icfg + echo " localboot -1" >> $icfg + echo " MENU HIDE" >> $icfg fi if [ -e $1/boot/efi/elilo.efi ]