mirror of
https://github.com/opnsense/src.git
synced 2026-03-10 10:13:20 -04:00
This eliminates a lot of stat() calls that happen when lualoader renders the
menu with the default settings, and greatly speeds up rendering on my
laptop.
ftype is nil if loader/loader.efi hasn't been updated yet, falling back to
lfs.attributes() to test.
This is technically incompatible with lfs, but not in a particularly
terrible way.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| modules | ||
| linit_flua.c | ||
| Makefile | ||