summaryrefslogtreecommitdiff
path: root/sys/boot/common
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-09-05 22:37:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-09-05 22:37:46 +0000
commit3bdfa9e589b3febf74898a7caeb0a4dda6629777 (patch)
tree4d85be34ca9a68fb856e54b67d5e7d96c4425344 /sys/boot/common
parent877aa18bbf2ce86e50f9ab1b1795cd1eff6b0f43 (diff)
Notes
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/boot.c2
-rw-r--r--sys/boot/common/module.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c
index ae3cb7796c99..067012cf53c8 100644
--- a/sys/boot/common/boot.c
+++ b/sys/boot/common/boot.c
@@ -38,7 +38,7 @@
static char *getbootfile(int try);
/* List of kernel names to try (may be overwritten by boot.config) XXX should move from here? */
-static const char *default_bootfiles = "kernel;kernel.old";
+static const char *default_bootfiles = "/boot/modules/kernel.ko";
static int autoboot_tried;
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c
index effb848fa0e7..192e58db2c45 100644
--- a/sys/boot/common/module.c
+++ b/sys/boot/common/module.c
@@ -49,7 +49,7 @@ struct file_metadata* metadata_next(struct file_metadata *base_mp, int type);
/* load address should be tweaked by first module loaded (kernel) */
static vm_offset_t loadaddr = 0;
-static const char *default_searchpath ="/;/boot;/modules";
+static const char *default_searchpath ="/boot/modules;/modules;/boot/kernel";
struct preloaded_file *preloaded_files = NULL;