remove /boot/kernel from the default path.. There is already code that

will prepend the current kernel booting...  This prevents a problem of
loading /boot/kernel's modules when a different kernel has no modules,
but you left your module_load="YES" in loader.conf...

Reviewed by:	dcs (minus the help part)
This commit is contained in:
John-Mark Gurney 2004-08-06 15:06:06 +00:00
parent 9a3daf494b
commit bd8fc733cb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133217
2 changed files with 3 additions and 2 deletions

View File

@ -205,7 +205,8 @@
Sets the list of directories which will be searched in for modules
named in a load command or implicitly required by a dependency. The
default module_path is "/boot/kernel;/boot/modules".
default module_path is "/boot/modules" with the kernel directory
prepended.
################################################################################
# Tset Sprompt DSet the command prompt

View File

@ -49,7 +49,7 @@ bitmap_type="splash_image_data" # and place it on the module_path
#beastie_disable="NO" # Turn the beastie boot menu on and off
#console="vidconsole" # Set the current console
#currdev="disk1s1a" # Set the current device
module_path="/boot/kernel;/boot/modules" # Set the module search path
module_path="/boot/modules" # Set the module search path
#prompt="\\${interpret}" # Set the command prompt
#root_disk_unit="0" # Force the root disk unit number
#rootdev="disk1s1a" # Set the root filesystem