freebsd-dev/sys/boot/i386/loader/loader.rc
Devin Teske f697065fda Add a try-include word (which acts the same as "include") and use it to
conditionally include (but ignore failures) /boot/loader.rc.local and
/boot/menu.rc.local -- to make customizing the menu easier.

Reviewed by:	alfred
Discussed on:	-hackers
2013-11-17 18:12:17 +00:00

19 lines
350 B
Plaintext

\ Loader.rc
\ $FreeBSD$
\
\ Includes additional commands
include /boot/loader.4th
try-include /boot/loader.rc.local
\ Reads and processes loader.conf variables
initialize
\ Tests for password -- executes autoboot first if a password was defined
check-password
\ Load in the boot menu
include /boot/beastie.4th
\ Start the boot menu
beastie-start