diff options
author | Devin Teske <dteske@FreeBSD.org> | 2013-11-17 18:12:17 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2013-11-17 18:12:17 +0000 |
commit | f697065fda776c569924b3453467ca4913280198 (patch) | |
tree | 985f6bb0b806a59afb9ef41dc73d439b0c30b19d /sys/boot/forth/loader.rc | |
parent | c0264af94b7c434658c6248af89977efc6317935 (diff) | |
download | src-f697065fda776c569924b3453467ca4913280198.tar.gz src-f697065fda776c569924b3453467ca4913280198.zip |
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
Notes
Notes:
svn path=/head/; revision=258270
Diffstat (limited to 'sys/boot/forth/loader.rc')
-rw-r--r-- | sys/boot/forth/loader.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.rc b/sys/boot/forth/loader.rc index a84753da0263..b4a6d51c4c4a 100644 --- a/sys/boot/forth/loader.rc +++ b/sys/boot/forth/loader.rc @@ -3,6 +3,7 @@ \ \ 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 |