Enable the new bootloader for i386 only. The new loader.rc is will only

be installed if an old one does not exist, i.e. only during install, not
during upgrades.

Approved by:	re
This commit is contained in:
Scott Long 2003-05-31 05:25:18 +00:00
parent 61fa6d584f
commit 832bb1e2d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115423
2 changed files with 21 additions and 1 deletions

View File

@ -106,7 +106,7 @@ FILES+= screen.4th frames.4th beastie.4th
FILESDIR_loader.conf= /boot/defaults
.if !exists(${DESTDIR}/boot/loader.rc)
FILES+= loader.rc
FILES+= ${.CURDIR}/loader.rc
.endif
.include <${.CURDIR}/../Makefile.inc>

View File

@ -0,0 +1,20 @@
\ Loader.rc
\ $FreeBSD$
\
\ Includes additional commands
include /boot/loader.4th
\ Reads and processes loader.rc
start
\ Tests for password -- executes autoboot first if a password was defined
check-password
\ Load in the boot menu
include /boot/beastie.4th
\ Do the normal initialization and startup
initialize drop
\ Start the boot menu
beastie-start