Kyle Evans e414851f3e lualoader: unload upon kernel change if a kernel was previously loaded
In the majority of cases, a kernel is not loaded before we hit the menu.
However, if a password is set, we'll trigger autoboot and have loadelf'd
beforehand. We also need to take into account one dropping to the loader
prompt and twiddling with things manually; if they try to toggle through
kernels, we'll assume they mean it.

Reported by:	trasz
MFC after:	 3 days
2018-10-24 02:02:37 +00:00
..
2018-02-26 03:16:47 +00:00
2018-04-27 22:15:18 +00:00
2018-10-12 16:24:49 +00:00
2018-03-13 16:33:00 +00:00
2018-08-14 18:58:01 +00:00
2018-10-23 23:11:38 +00:00
2018-08-15 11:39:13 +00:00
2018-06-27 19:29:15 +00:00
2018-08-01 20:08:20 +00:00
2018-07-08 07:42:49 +00:00
2017-12-02 00:06:58 +00:00