svn commit: r331282 - head/stand/lua
Kyle Evans
kevans at FreeBSD.org
Wed Mar 21 03:16:15 UTC 2018
Author: kevans
Date: Wed Mar 21 03:16:14 2018
New Revision: 331282
URL: https://svnweb.freebsd.org/changeset/base/331282
Log:
core.lua(8): Update to reflect recently added function clearCachedKernels
Modified:
head/stand/lua/core.lua.8
Modified: head/stand/lua/core.lua.8
==============================================================================
--- head/stand/lua/core.lua.8 Wed Mar 21 03:07:16 2018 (r331281)
+++ head/stand/lua/core.lua.8 Wed Mar 21 03:16:14 2018 (r331282)
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 2, 2018
+.Dd March 21, 2018
.Dt CORE.LUA 8
.Os
.Sh NAME
@@ -138,6 +138,16 @@ and
If
.Fa safeMode
is omitted, toggle the current safe mode setting.
+.It Fn core.clearCachedKernels
+Clears out the cache of kernels to be displayed on the boot menu.
+This function is registered as a
+.Ev config.reloaded
+hook.
+It is used to invalidate the kernel list whenever it may have changed, either
+due to a boot environment change or a potential change in either
+.Ic kernel
+or
+.Ic kernels .
.It Fn core.kernelList
Returns a table of kernels to display on the boot menu.
This will combine
More information about the svn-src-all
mailing list