Only display ACPI bootmenu key if ACPI is present
Andriy Gapon
avg at freebsd.org
Tue Nov 9 13:45:56 UTC 2010
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
@@ -5,7 +5,7 @@
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
More information about the freebsd-current
mailing list