#!/bin/bash
-. ${clst_sharedir}/targets/support/functions.sh
-. ${clst_sharedir}/targets/support/filesystem-functions.sh
+source ${clst_sharedir}/targets/support/functions.sh
+source ${clst_sharedir}/targets/support/filesystem-functions.sh
# $1 is the destination root
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}
echo "Available kernels:" > ${kmsg}
for i in 2 3 4 5 6 7
do
- cp ${clst_sharedir}/files/livecd/x86-F$i.msg \
+ cp ${clst_sharedir}/livecd/files/x86-F$i.msg \
$1/isolinux/F$i.msg
done
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 ]
# Setup help message
echo >> ${icfg}
echo "title help" >> ${icfg}
- cp ${clst_sharedir}/files/livecd/README.txt \
+ cp ${clst_sharedir}/livecd/files/README.txt \
$1/boot/help.msg
echo "cat /boot/help.msg" >> ${icfg}