aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-06-19 13:15:35 -0500
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2011-06-25 21:42:45 +0000
commitdacde1f4c05d6a5771ed9cb00480b57a2f6eec59 (patch)
tree358496baf04792260a00e5e5ab06983415e75982
parentfix ignore patterns (diff)
downloadcatalyst-dacde1f4c05d6a5771ed9cb00480b57a2f6eec59.tar.gz
catalyst-dacde1f4c05d6a5771ed9cb00480b57a2f6eec59.tar.bz2
catalyst-dacde1f4c05d6a5771ed9cb00480b57a2f6eec59.zip
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) <jmbsvicetto@gentoo.org>
-rw-r--r--targets/support/bootloader-setup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
index ffd6794..6f39196 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 ]