diff options
author | ps <ps@FreeBSD.org> | 2000-06-14 10:34:29 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-06-14 10:34:29 +0000 |
commit | 013be4c7436a478bcd8131713f2c92e2d408f9dd (patch) | |
tree | c34105d95bedc3e09436d43a7fd6630809657345 /sys/boot/common/boot.c | |
parent | 021d03f5bf631a868a0518181a8ca19a75e04d16 (diff) | |
download | FreeBSD-src-013be4c7436a478bcd8131713f2c92e2d408f9dd.zip FreeBSD-src-013be4c7436a478bcd8131713f2c92e2d408f9dd.tar.gz |
Delay calling the device cleanup routines until the absolute last
moment. We were cleaning up after PXE too early and the module
dependancy code would not be able to load any files if it needed
too.
Diffstat (limited to 'sys/boot/common/boot.c')
-rw-r--r-- | sys/boot/common/boot.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index dfd400c..7c02e56 100644 --- a/sys/boot/common/boot.c +++ b/sys/boot/common/boot.c @@ -110,11 +110,6 @@ command_boot(int argc, char *argv[]) if (archsw.arch_autoload() != 0) return(CMD_ERROR); - /* Call cleanup routines */ - for (i = 0; devsw[i] != NULL; ++i) - if (devsw[i]->dv_cleanup != NULL) - (devsw[i]->dv_cleanup)(); - /* Call the exec handler from the loader matching the kernel */ file_formats[fp->f_loader]->l_exec(fp); return(CMD_ERROR); |