utmp: add suppport for FreeBSD

FreeBSD does not have utempter helper but instead have a ulog-helper
which provides the same set of functionnality, but the call and
arguments are slightly different.
This commit is contained in:
Baptiste Daroussin 2023-04-06 09:04:05 +02:00
parent c13495e26e
commit aa2b29b1bd
4 changed files with 37 additions and 14 deletions

View file

@ -344,8 +344,10 @@ empty string to be set, but it must be quoted: *KEY=""*)
some cases, the number of physical _cores_ is better.
*utempter*
Path to utempter helper binary. Set to *none* to disable utmp
Path to _@utempter_name@_ helper binary. Set to *none* to disable utmp
records. Default: _@utempter@_.
Foot will execute the binary with _@utempter_add@_ when starting
and with _@utempter_del@_ when exiting.
# SECTION: environment