Jonathan Underwood (jonathan.underwood(a)gmail.com) said:
On 26 June 2012 21:11, Bill Nottingham <notting(a)redhat.com>
wrote:
> For each legacy option (such as "xyzzy") supported by your init script
(such
> as "frobozz"), package an executable script named:
>
> /usr/libexec/initscripts/legacy-actions/frobozz/xyzzy
>
Wouldn't
/usr/lib/initscripts/legacy-actions/frobozz/xyzzy
be a better location, given the general desire for libexec to disappear?
Six of one, half-dozen of the other.
Also, why the need for the "legacy-actions" part of the
path?
It's for supporting legacy things included in former SysV scripts, not new
functionality. If you put new things there, you're doing it wrong.
Bill