runscript changes
authorBrad House <brad_mssw@gentoo.org>
Thu, 15 Jan 2004 03:21:04 +0000 (03:21 +0000)
committerBrad House <brad_mssw@gentoo.org>
Thu, 15 Jan 2004 03:21:04 +0000 (03:21 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@164 d1e1f19c-881f-0410-ab34-b69fee027534

examples/livecd/runscript/x86-runscript.sh

index 4b7119c458f5c5a74083c0f1bf370c41a75b794e..0623cd0114b0d06b971c8703a9895ba5c685abe4 100644 (file)
@@ -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
        ;;