1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/boot/forth
Sergey Kandaurov 6791e4f442 Get rid of a spurious warning on the console when booting the kernel
from the interactive loader(8) prompt and beastie_disable="YES" is set
in loader.conf(5). In this case menu.rc is not evaluated and consequently
menu-unset does not have a body yet. This results in the ficl warning
"menu-unset not found" when try-menu-unset invokes menu-unset.

Check for beastie_disable="YES" explicitly, so that the try-menu-unset
word will not attempt to invoke menu-unset because the menu will have
never been configured. [1]
Use the sfind primitive as a last resort as an additional safer approach
conjuring a foreign word safely. [2]

PR:		kern/163938
Submitted by:	Devin Teske [1]
Reviewed by:	Devin Teske [2]
Reported and tested by:	dim
MFC after:	1 week
X-MFC with:	r228985
2012-01-09 20:25:14 +00:00
..
beastie.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
beastie.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
brand.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
brand.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
check-password.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
check-password.4th.8 mdoc: fix markup 2011-06-02 09:56:42 +00:00
color.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
color.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
delay.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
delay.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
frames.4th
loader.4th Get rid of a spurious warning on the console when booting the kernel 2012-01-09 20:25:14 +00:00
loader.4th.8
loader.conf - Rename if_carp.ko to carp.ko. 2011-12-16 14:28:34 +00:00
loader.conf.5 Note that the "kernel" variable in loader.conf is the name of a directory 2011-07-20 15:18:24 +00:00
loader.rc Revert changes to this file in r222417. This unconditionally enabled the 2011-06-15 14:07:16 +00:00
menu-commands.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
menu.4th Unset the environment variables associated with individual menu items 2011-12-30 06:24:59 +00:00
menu.4th.8 Unset the environment variables associated with individual menu items 2011-12-30 06:24:59 +00:00
menu.rc New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
pnp.4th
screen.4th
shortcuts.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
support.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
version.4th New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
version.4th.8 New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00