Page MenuHomeFreeBSD

lualoader: Add hook.lua(8) to tree
ClosedPublic

Authored by kevans on Mar 24 2018, 12:15 AM.
Tags
None
Referenced Files
F80157612: D14815.diff
Thu, Mar 28, 4:44 PM
Unknown Object (File)
Feb 23 2024, 4:15 PM
Unknown Object (File)
Feb 23 2024, 4:15 PM
Unknown Object (File)
Feb 23 2024, 4:15 PM
Unknown Object (File)
Feb 23 2024, 4:15 PM
Unknown Object (File)
Feb 23 2024, 4:15 PM
Unknown Object (File)
Feb 23 2024, 4:00 PM
Unknown Object (File)
Dec 23 2023, 10:49 AM
Subscribers

Details

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 15755

Event Timeline

It would be good if you explained what a hook was, somewhere before the Exported functions section.

stand/lua/hook.lua.8
60

"to be run"

65

Describe the ordering in which multiple hooks of the same hooktype are run.

68

"in, as well"

72

is defined in the
.Xr config.lua 8
module, and run when the configuration is reloaded.

74

"to be run"

kevans marked 5 inline comments as done.

Address comments by @rpokala

  • Nuke all instances of 'ran' from orbit, use 'run' instead
  • Describe order in which hooks are invoked
  • Add a cross-reference and a missing article

Re-word the description a little bit, explain what hooks are and what we mean by "hook types".

rpokala requested changes to this revision.Jun 8 2018, 3:48 AM
rpokala added inline comments.
stand/lua/hook.lua.8
6

Per discussions over the last few months, remove "All rights reserved."

This revision now requires changes to proceed.Jun 8 2018, 3:48 AM
This revision was not accepted when it landed; it landed in state Needs Revision.Jun 9 2018, 2:27 PM
This revision was automatically updated to reflect the committed changes.