summaryrefslogtreecommitdiff
path: root/sys/boot/forth/loader.4th
diff options
context:
space:
mode:
authorDaniel C. Sobral <dcs@FreeBSD.org>1999-05-14 18:59:27 +0000
committerDaniel C. Sobral <dcs@FreeBSD.org>1999-05-14 18:59:27 +0000
commitc4b16f49fccf3e6032d6e924c0f98d33252f94a0 (patch)
tree4bbdea5d579098caddcf90a54d20bcdf11acecf2 /sys/boot/forth/loader.4th
parent4bc71ceab37fae8e47a35623ac7fd0f3bc377b7c (diff)
Notes
Diffstat (limited to 'sys/boot/forth/loader.4th')
-rw-r--r--sys/boot/forth/loader.4th16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/boot/forth/loader.4th b/sys/boot/forth/loader.4th
index 363aab211862..e219b56f2952 100644
--- a/sys/boot/forth/loader.4th
+++ b/sys/boot/forth/loader.4th
@@ -22,7 +22,7 @@
\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
\ SUCH DAMAGE.
\
-\ $Id: loader.4th,v 1.1 1999/03/09 14:06:55 dcs Exp $
+\ $Id: loader.4th,v 1.2 1999/04/24 17:25:25 dcs Exp $
include /boot/support.4th
@@ -55,6 +55,18 @@ only forth definitions also support-functions
then
;
+\ ***** initialize
+\
+\ Overrides support.4th initialization word with one that does
+\ everything start one does, short of loading the kernel and
+\ modules. Returns a flag
+
+: initialize ( -- flag )
+ s" /boot/defaults/loader.conf" initialize
+ include_conf_files
+ any_conf_read?
+;
+
\ ***** read-conf
\
\ Read a configuration file, whose name was specified on the command
@@ -189,4 +201,4 @@ only forth definitions also support-functions
\ Return to strict forth vocabulary
only forth also
-
+