diff options
Diffstat (limited to 'stand/lua/password.lua')
-rw-r--r-- | stand/lua/password.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stand/lua/password.lua b/stand/lua/password.lua index 8edd4edd7ec3..3d3060f5cab3 100644 --- a/stand/lua/password.lua +++ b/stand/lua/password.lua @@ -1,5 +1,5 @@ -- --- SPDX-License-Identifier: BSD-2-Clause-FreeBSD +-- SPDX-License-Identifier: BSD-2-Clause -- -- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> -- Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org> @@ -26,8 +26,6 @@ -- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -- SUCH DAMAGE. -- --- $FreeBSD$ --- local core = require("core") local screen = require("screen") @@ -135,6 +133,7 @@ function password.check() local pwd = loader.getenv("password") if pwd ~= nil then core.autoboot() + loader.setenv("autoboot_delay", "NO") -- The autoboot sequence was interrupted, so we'll need to -- prompt for a password. Put the screen back into a known -- good state, otherwise we're drawing back a couple lines |