freebsd-src/sys/boot/common
Daniel C. Sobral 59549c5031 Fix autoboot. Now autoboot *always* show the correct kernel name. It
gets the name from the environment variable kernelname, which is set
when a kernel is loaded. For this reason, autoboot will _first_ try
to load a kernel, and only proceed with the wait prompt after that
succeeds. If it fails, it will abort immediately.

While I understand some may think this behavior undesirable, I think
it is, overall, the best thing to do, even if we do not consider the
aesthetic issue. Notice that anyone using the default loader.rc
already has the kernel loaded before autoboot.

On unload, unset kernelname.

Separate the code that tries to load a kernel from the list of options
to the function loadakernel(). It is used by both boot() and
autoboot().
2000-09-08 16:47:05 +00:00
..
bcache.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
boot.c Fix autoboot. Now autoboot *always* show the correct kernel name. It 2000-09-08 16:47:05 +00:00
bootstrap.h Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
commands.c Don't call printf with no format string. This is technically a security 2000-07-10 06:33:55 +00:00
console.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dev_net.c Add support to send the string 'PXEClient' as the Vendor class 2000-08-11 08:36:17 +00:00
dev_net.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devopen.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
help.common Some more i386-only BIOS-friendliness: 2000-04-16 20:48:33 +00:00
interp_backslash.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_forth.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_parse.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp.c Bring back the perform() function. However, conditionionalize it on 2000-08-04 05:23:41 +00:00
isapnp.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
isapnp.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
load_aout.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
load_elf.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
load.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
loader.8 List loader.conf and friends in the FILES section. 2000-08-24 08:00:29 +00:00
ls.c GC unused variable (size) 2000-05-01 18:03:15 +00:00
Makefile.inc Move man page directives to common/Makefile.inc. 2000-05-19 08:52:16 +00:00
merge_help.awk $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
misc.c Delay calling the device cleanup routines until the absolute last 2000-06-14 10:34:29 +00:00
module.c Fix autoboot. Now autoboot *always* show the correct kernel name. It 2000-09-08 16:47:05 +00:00
newvers.sh Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
panic.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pnp.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
pnpdata $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00