diff options
author | dcs <dcs@FreeBSD.org> | 2000-09-09 18:20:00 +0000 |
---|---|---|
committer | dcs <dcs@FreeBSD.org> | 2000-09-09 18:20:00 +0000 |
commit | f3050d463ad9f84081d59ebd527cf6cbb7c02552 (patch) | |
tree | 305aa1486d93b5b9d76f8851914ebbc9d397f4bf /sys/boot/forth/support.4th | |
parent | 7c1f999d2f0e4b645c1873b80a45047a0913fc41 (diff) | |
download | FreeBSD-src-f3050d463ad9f84081d59ebd527cf6cbb7c02552.zip FreeBSD-src-f3050d463ad9f84081d59ebd527cf6cbb7c02552.tar.gz |
Upon reflection, I decided that bootfile must have priority over kernel
as the kernel name. The one very unfortunate consequence is that kernel
as an absolute path loses the priority. It will only be tried after
/boot/${kernel}/${bootfile}. I'll see what can be done about it later.
Diffstat (limited to 'sys/boot/forth/support.4th')
-rw-r--r-- | sys/boot/forth/support.4th | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/boot/forth/support.4th b/sys/boot/forth/support.4th index e3feb05..2bfc7e9 100644 --- a/sys/boot/forth/support.4th +++ b/sys/boot/forth/support.4th @@ -1296,8 +1296,8 @@ also builtins \ Try to load a kernel; the kernel name is taken from one of \ the following lists, as ordered: \ -\ 1. The "kernel" environment variable -\ 2. The "bootfile" environment variable +\ 1. The "bootfile" environment variable +\ 2. The "kernel" environment variable \ \ Flags are passed, if available. The parameter args must be 2 \ if flags are being passed, or 1 if they should be ignored. @@ -1312,14 +1312,14 @@ also builtins end-locals \ Check if a default kernel name exists at all, exits if not - s" kernel" getenv dup -1 <> if + s" bootfile" getenv dup -1 <> if to kernel flags kernel args try_multiple_kernels dup 0= if exit then then drop - s" bootfile" getenv dup -1 <> if + s" kernel" getenv dup -1 <> if to kernel else drop @@ -1333,8 +1333,8 @@ also builtins \ Try to load a kernel; the kernel name is taken from one of \ the following lists, as ordered: \ -\ 1. The "kernel" environment variable -\ 2. The "bootfile" environment variable +\ 1. The "bootfile" environment variable +\ 2. The "kernel" environment variable \ \ Flags are passed, if provided. \ @@ -1418,8 +1418,8 @@ also builtins \ Try to load a kernel; the kernel name is taken from one of \ the following lists, as ordered: \ -\ 1. The "kernel" environment variable -\ 2. The "bootfile" environment variable +\ 1. The "bootfile" environment variable +\ 2. The "kernel" environment variable \ 3. The "path" argument \ \ Flags are passed, if provided. |