Replace "." with "source".
[catalyst.git] / targets / support / bootloader-setup.sh
index ffd6794fa17f7ceaadb186d4ed241a2ba97782e1..2832b9ff8076bdacc4d2a7cf7b4d1b0cc036b8a7 100644 (file)
@@ -1,6 +1,6 @@
 #!/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
 
@@ -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}
@@ -270,7 +271,7 @@ case ${clst_hostarch} in
                        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
 
@@ -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 ]
@@ -413,7 +418,7 @@ case ${clst_hostarch} in
                        # 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}