# 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.3 2004/01/15 03:21:04 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/examples/livecd/runscript/Attic/x86-runscript.sh,v 1.4 2004/01/15 04:21:26 brad_mssw Exp $
# Section has been handled, do not execute additional scripts
RETURN_GOOD=0
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
+ kmsg=$clst_cdroot_path/isolinux/kernels.msg
hmsg=$clst_cdroot_path/isolinux/help.msg
echo "default $first" > $icfg
- echo "timeout 60" >> $icfg
+ echo "timeout 150" >> $icfg
+ echo "prompt 1" >> $icfg
echo "display boot.msg" >> $icfg
- echo "F1 boot.msg" >> $icfg
+ echo "F1 kernels.msg" >> $icfg
echo "F2 help.msg" >> $icfg
- echo "Please choose an available boot kernel:" > $bmsg
+ echo "Available kernels:" > $kmsg
echo "TEST HELP MESSAGE" > $hmsg
for x in $clst_boot_kernel
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 " $x" >> $kmsg
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
+ echo " ${x}-nofb" >> $kmsg
done
exit $RETURN_CONTINUE
;;