Make rc_configtest behave like rc_pre and rc_post; i.e. don't define a default
authorajacoutot <ajacoutot@openbsd.org>
Fri, 2 Sep 2022 22:11:57 +0000 (22:11 +0000)
committerajacoutot <ajacoutot@openbsd.org>
Fri, 2 Sep 2022 22:11:57 +0000 (22:11 +0000)
commitff30fda45ac8ba77a3d377d44ac712f97385c017
tree3560ccb3156767ed7b734bd9f8ad2c62af7751d8
parent47de54a6f7f3f73b0ee25b88bb332954ad049b74
Make rc_configtest behave like rc_pre and rc_post; i.e. don't define a default
function (each rc.d script is supposed to define its own if wanted).
This way, we can filter out the "configtest" action depending on whether the
function exists or not.
Adapt documentation.

tweak/ok kn@
etc/rc.d/rc.subr
share/man/man8/rc.d.8
share/man/man8/rc.subr.8