From 554ff9ce43b9cb5945680eb3dff193468b1c8cb7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 19 Jun 2011 13:15:35 -0500 Subject: [PATCH] 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) --- targets/support/bootloader-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index 239de81b..59f1abe9 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 ] -- 2.26.2