From 0130c6e8524d46359a8ae24a0610bb4a1792acf6 Mon Sep 17 00:00:00 2001 From: Brad House Date: Thu, 15 Jan 2004 03:21:04 +0000 Subject: [PATCH] runscript changes git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@164 d1e1f19c-881f-0410-ab34-b69fee027534 --- examples/livecd/runscript/x86-runscript.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/examples/livecd/runscript/x86-runscript.sh b/examples/livecd/runscript/x86-runscript.sh index 4b7119c4..0623cd01 100644 --- a/examples/livecd/runscript/x86-runscript.sh +++ b/examples/livecd/runscript/x86-runscript.sh @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/x86-runscript.sh,v 1.2 2004/01/15 01:43:45 brad_mssw Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/x86-runscript.sh,v 1.3 2004/01/15 03:21:04 brad_mssw Exp $ # Section has been handled, do not execute additional scripts RETURN_GOOD=0 @@ -68,12 +68,17 @@ case $1 in mv $clst_cdroot_path/isolinux/initrd $clst_cdroot_path/isolinux/$x.igz done icfg=$clst_cdroot_path/isolinux/isolinux.cfg + bmsg=$clst_cdroot_path/isolinux/boot.msg + hmsg=$clst_cdroot_path/isolinux/help.msg echo "default $first" > $icfg - echo "prompt: 1" >> $icfg - echo "display: boot.msg" >> $icfg + echo "timeout 60" >> $icfg + echo "display boot.msg" >> $icfg echo "F1 boot.msg" >> $icfg echo "F2 help.msg" >> $icfg + echo "Please choose an available boot kernel:" > $bmsg + echo "TEST HELP MESSAGE" > $hmsg + for x in $clst_boot_kernel do echo >> $icfg @@ -81,9 +86,12 @@ case $1 in echo " kernel $x" >> $icfg echo " append initrd=$x.igz root=/dev/ram0 init=/linuxrc loop=/livecd.loop cdroot vga=0x317 splash=silent" >> $icfg echo >> $icfg + echo " $x" >> $bmsg echo "label $x-nofb" >> $icfg echo " kernel $x" >> $icfg echo " append initrd=$x.igz root=/dev/ram0 init=/linuxrc loop=/livecd.loop cdroot" >> $icfg + echo >> $icfg + echo " ${x}-nofb" >> $bmsg done exit $RETURN_CONTINUE ;; -- 2.26.2