HomeFreeBSD

stand/lua: Don't reload kernel config if we only have one kernel

Description

stand/lua: Don't reload kernel config if we only have one kernel

Don't move this into config.reload because we may want to force reloads if
/boot changes out from under us later.

As a caution: changing kernels in lualoader at the moment might not be
loading all of your modules (in my testing, at least) from loader.conf(5).
This is a known problem.

Details

Provenance
kevansAuthored on
Parents
rS329414: stand/lua: Don't try to divide by 0; do nothing
Branches
Unknown
Tags
Unknown