1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/boot/forth/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

21 lines
461 B
Plaintext

\ Loader.rc
\ $FreeBSD$
\
\ Includes additional commands
include /boot/loader.4th
try-include /boot/loader.rc.local
\ Reads and processes loader.conf variables
\ NOTE: Change to `initialize' if you enable the below boot menu
start
\ Tests for password -- executes autoboot first if a password was defined
check-password
\ Uncomment to enable boot menu
\ include /boot/beastie.4th
\ beastie-start
\ Unless set otherwise, autoboot is automatic at this point