HomeFreeBSD

rc.subr(8): introduce ${name}_offcmd

Description

rc.subr(8): introduce ${name}_offcmd

New variable ${name}_offcmd may be used to supply commands
executed if named service is not enabled. Previously start_precmd
could be used for such a task but now rc.subr(8) does not call it
if a service is not enabled.

Fix devd startup script to use it instead of start_precmd.

PR: 279198
MFC after: 2 weeks
Reported by: Dmitry S. Lukhtionov
Tested by: Dmitry S. Lukhtionov

Details

Provenance
eugen_grosbein.netAuthored on Jun 2 2024, 7:13 PM
Parents
rG39c4f65c72c7: stddef.h/stdlib.h: Remove unused rune_t
Branches
Unknown
Tags
Unknown