From a6e74fd03c93ec9cdb31570b9a6b676aef4ee4c5 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Sun, 23 Apr 2006 14:47:58 +0000 Subject: altboot: - Removed multiple die() functions - Altboot no longer activates an off-flash altboot-menu when not booting from flash - Added a debug_echo function which is disabled in non-rc and non-snapshot builds - RC's and snapshots now spawn a debug shell on tty4 right after the kernel is booted - die() messages are now colored red/white, debug is purple(?)/white - Fixed start_networking() on collie and made it a little bit more verbose --- packages/altboot/files/altboot-menu/Advanced/70-setKernel | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages/altboot/files/altboot-menu/Advanced/70-setKernel') diff --git a/packages/altboot/files/altboot-menu/Advanced/70-setKernel b/packages/altboot/files/altboot-menu/Advanced/70-setKernel index a2c1efa81b..6192232a73 100644 --- a/packages/altboot/files/altboot-menu/Advanced/70-setKernel +++ b/packages/altboot/files/altboot-menu/Advanced/70-setKernel @@ -40,11 +40,13 @@ run_module() { get_pref "kexec_klist" "$junk" KEXEC_SELECTED_KERNEL && break - done - - echo "Using [$KEXEC_SELECTED_KERNEL]" + done + else + KEXEC_SELECTED_KERNEL="`ls -1 $KEXEC_KERNEL_DIR/zImage* | grep -v "kexec.cfg" `" fi + echo -e "\nUsing [$KEXEC_SELECTED_KERNEL]" + if ! test -e "$KEXEC_SELECTED_KERNEL.kexec.cfg" then echo -e "\nWARNING: This kernel has not been configured." -- cgit v1.2.3