]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: Add reload-conf loader command
authorkevans <kevans@FreeBSD.org>
Sat, 14 Sep 2019 03:38:18 +0000 (03:38 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 14 Sep 2019 03:38:18 +0000 (03:38 +0000)
commitc1c015f3eb95e22c5cde7d03f3a3fc5407379448
treee50feae590c2d44c9d491a4c55e0b569ab867aaf
parent476a473cabd8bc5943e0acc5fe42063e7d95a5bc
lualoader: Add reload-conf loader command

This command will trigger a reload of the configuration from disk. This is
useful if you've changed currdev from recovery media to local disk as much
as I have over the past ~2 hours and are tired of the extra keystrokes.

This is really just a glorified shortcut, but reload-conf is likely easier
to remember for other people and does save some keystrokes when reloading
the configuration. It is also resilient to the underlying config method
changing interface, but this is unlikely to happen.

MFC after: 1 week
stand/lua/cli.lua
stand/lua/cli.lua.8