Searched hist:"7 e1c014a9e3a632099efd1fa34a583b627b71bb3" (Results 1 – 3 of 3) sorted by relevance
/freebsd/libexec/rc/ |
H A D | hooks.sh | 7e1c014a9e3a632099efd1fa34a583b627b71bb3 Tue Sep 10 21:04:15 CEST 2024 Simon J. Gerraty <sjg@FreeBSD.org> debug.sh take advantage of hooks.sh
Allow Debug{On,Off} to run associated hooks. This makes it feasible to collect extra debug info at runtime without needing to modify any potentially verified and hence immutable scripts.
Like debug.sh, hooks.sh is extremely handy and used extensively in many parts of Junos and its build environment. It is provided here in the hope that others may benefit.
We do not dot hooks.sh by default to reduce overhead, but it can but done from rc.conf et al using
$_HOOKS_SH . /libexec/hooks.sh
to avoid including more than once.
Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D46552
|
H A D | debug.sh | diff 7e1c014a9e3a632099efd1fa34a583b627b71bb3 Tue Sep 10 21:04:15 CEST 2024 Simon J. Gerraty <sjg@FreeBSD.org> debug.sh take advantage of hooks.sh
Allow Debug{On,Off} to run associated hooks. This makes it feasible to collect extra debug info at runtime without needing to modify any potentially verified and hence immutable scripts.
Like debug.sh, hooks.sh is extremely handy and used extensively in many parts of Junos and its build environment. It is provided here in the hope that others may benefit.
We do not dot hooks.sh by default to reduce overhead, but it can but done from rc.conf et al using
$_HOOKS_SH . /libexec/hooks.sh
to avoid including more than once.
Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D46552
|
H A D | Makefile | diff 7e1c014a9e3a632099efd1fa34a583b627b71bb3 Tue Sep 10 21:04:15 CEST 2024 Simon J. Gerraty <sjg@FreeBSD.org> debug.sh take advantage of hooks.sh
Allow Debug{On,Off} to run associated hooks. This makes it feasible to collect extra debug info at runtime without needing to modify any potentially verified and hence immutable scripts.
Like debug.sh, hooks.sh is extremely handy and used extensively in many parts of Junos and its build environment. It is provided here in the hope that others may benefit.
We do not dot hooks.sh by default to reduce overhead, but it can but done from rc.conf et al using
$_HOOKS_SH . /libexec/hooks.sh
to avoid including more than once.
Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D46552
|