Re: Only display ACPI bootmenu key if ACPI is present

From: Andriy Gapon <avg_at_freebsd.org>
Date: Tue, 09 Nov 2010 15:45:52 +0200
on 09/11/2010 07:26 Lars Engels said the following:
> Maybe we should also import PCBSD's patches to the beastie menu?
> In PCBSD's beastie menu you can toggle some settings like "safe mode",
> and "ACPI", so the kernel is not loaded as soon as select an option.
> 
> See
> http://trac.pcbsd.org/browser/pcbsd/current/system-overlay/boot/beastie.4th

Lars,

not sure if I got your suggestion correctly, this is what I have in my local tree:
diff --git a/sys/boot/i386/loader/loader.rc b/sys/boot/i386/loader/loader.rc
index 6443f3f..cb2f723 100644
--- a/sys/boot/i386/loader/loader.rc
+++ b/sys/boot/i386/loader/loader.rc
_at__at_ -5,7 +5,7 _at__at_
 include /boot/loader.4th

 \ Reads and processes loader.conf variables
-start
+initialize

 \ Tests for password -- executes autoboot first if a password was defined
 check-password

With this kernel and modules are _not_ loaded before presenting the menu.

-- 
Andriy Gapon
Received on Tue Nov 09 2010 - 12:45:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC