diff options
author | dteske <dteske@FreeBSD.org> | 2014-03-03 07:31:55 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2014-03-03 07:31:55 +0000 |
commit | ccce67094aa5e487cc7c97ca7cf7b3e45dd911d8 (patch) | |
tree | 9cbc79cd551e084edbe363ebac804e582657b02a /sys/boot/forth/menu.rc | |
parent | ccfaf68adbb4f44ab9d2d7a4a13b4e43752b1b37 (diff) | |
download | FreeBSD-src-ccce67094aa5e487cc7c97ca7cf7b3e45dd911d8.zip FreeBSD-src-ccce67094aa5e487cc7c97ca7cf7b3e45dd911d8.tar.gz |
MFC r258270:
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
Diffstat (limited to 'sys/boot/forth/menu.rc')
-rw-r--r-- | sys/boot/forth/menu.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/forth/menu.rc b/sys/boot/forth/menu.rc index 3d8bff9..e49f567 100644 --- a/sys/boot/forth/menu.rc +++ b/sys/boot/forth/menu.rc @@ -120,6 +120,10 @@ set optionstoggled_ansi[6]="[1mV[37merbose..... [32;7mOn[0;37m" \ set menu_timeout_command="boot" +\ Include optional elements defined in a local file +\ +try-include /boot/menu.rc.local + \ Display the main menu (see `menu.4th') set menuset_initial=1 menuset-loadinitial |