summaryrefslogtreecommitdiff
path: root/usr/src/boot/forth/loader.rc
blob: 989a014da44fb61b893abe5deed12ea58467370d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\ Loader.rc
\
\ Includes additional commands
include /boot/forth/loader.4th

\ For SmartOS, override the default color scheme back to the more traditional
\ black background and white foreground.
set tem.fg_color=white
set tem.bg_color=black

\ As another SmartOS customization, work around OS-8160 by limiting the size of
\ the framebuffer.
framebuffer set 1024x768

try-include /boot/loader.rc.local

\ Reads and processes loader.conf variables
\ NOTE: Change to `start' if you disable the below boot menu
\ also note that initialize will leave flag in stack from any_conf_read?
\ start
initialize drop

\ Tests for password -- executes autoboot first if a password was defined
check-password

\ Load in the boot menu
include /boot/forth/beastie.4th

\ Start the boot menu
beastie-start