mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Taken from: https://github.com/freebsd/freebsd.git Commit id: d44ce30d3054a38723f89a161c5e003e64d1aaae
34 lines
644 B
Text
34 lines
644 B
Text
\ Example of the file which is automatically loaded by /boot/loader
|
|
\ on startup.
|
|
\ $FreeBSD$
|
|
|
|
cr .( Loading Forth extensions:)
|
|
|
|
\ Load configuration file words
|
|
|
|
cr .( - loader.4th...)
|
|
|
|
include /boot/loader.4th
|
|
|
|
\ Load the screen manipulation words
|
|
|
|
cr .( - screen.4th...)
|
|
s" /boot/screen.4th" O_RDONLY fopen dup fload fclose
|
|
|
|
\ Load frame support
|
|
cr .( - frames.4th...)
|
|
s" /boot/frames.4th" O_RDONLY fopen dup fload fclose
|
|
|
|
\ Load our little menu
|
|
cr .( - menuconf.4th...)
|
|
s" /boot/menuconf.4th" O_RDONLY fopen dup fload fclose
|
|
|
|
\ Initialize loader.4th stuff
|
|
|
|
cr cr .( Initializing loader.4th...)
|
|
initialize drop
|
|
|
|
\ Show the menu
|
|
cr
|
|
main_menu
|
|
|