pluknet b714ea6bf9 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
..
2011-10-27 14:15:26 +00:00
2012-01-02 12:12:10 +00:00
2012-01-02 12:12:10 +00:00
2012-01-08 05:44:19 +00:00
2012-01-02 12:12:10 +00:00
2011-11-26 23:57:03 +00:00
2011-12-13 13:38:03 +00:00
2012-01-02 12:12:10 +00:00
2011-12-15 06:29:13 +00:00