[Bug 244640] [Patch][Lua loader] Implement missing "read-conf" 4th command

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 6 18:24:25 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244640

--- Comment #1 from Olivier Certner <olivier.freebsd at free.fr> ---
Sorry, missing text in 1. in original submission. Should read:

1. As this command is not built-in, it would normally have to obey Lua syntax,
which forbids calling functions having a `-` in their name with the common
function call syntax. However, Lua loader's specific machinery handles the
first string in the command as the name of a function to call. So it is indeed
possible to use "read-conf" by typing:
`"read-conf" "<conf_file_name>"`
at the loader prompt. Actually, "boot-conf" was already defined and could be
used this way.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list