The kernel is now known as `kernel.ko' and it and its matching modules

live in ``/boot/kernel/''.

Submitted by:	Hisashi Hiramoto <hiramoto@phys.chs.nihon-u.ac.jp>
This commit is contained in:
David E. O'Brien 2000-09-06 06:22:20 +00:00
parent dee4ec33cf
commit 6b6821c771
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65507

View file

@ -1168,7 +1168,7 @@ SYSINIT(preload, SI_SUB_KLD, SI_ORDER_MIDDLE, linker_preload, 0);
* character as a separator to be consistent with the bootloader.
*/
static char linker_path[MAXPATHLEN] = "/;/boot/;/modules/";
static char linker_path[MAXPATHLEN] = "/boot/modules/;/modules/;/boot/kernel/";
SYSCTL_STRING(_kern, OID_AUTO, module_path, CTLFLAG_RW, linker_path,
sizeof(linker_path), "module load search path");