zfs/etc
Benda Xu 162cc80b81
etc/init.d: decide which variant to use at build time.
Let Debian use the sysv-rc variant of the script, even when OpenRC is
installed. Unlike on Gentoo, OpenRC on Debian consumes both the
sysv-rc scripts and OpenRC ones. ZFS initscripts on Debian should be
the sysv-rc version to provide most compatibility and to integrate
with the rest of initscripts for dependency tracking.

Restrict the substitution in the Makefile to the dedicated list.

This construct is inspired by Mo Zhou's detection of the execution
shell and follows the strategy of Peter in 6ef28c526b.

As of 2024, the initscripts are mostly relevant on Debian, Gentoo and
their derivatives.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Benda Xu <orv@debian.org>
Issue #8063
Issue #8204
Issue #8359
Closes #15977
2024-04-08 16:52:24 -07:00
..
default autoconf: use include directives instead of recursing down etc 2022-05-10 10:19:58 -07:00
init.d etc/init.d: decide which variant to use at build time. 2024-04-08 16:52:24 -07:00
modules-load.d autoconf: use include directives instead of recursing down etc 2022-05-10 10:19:58 -07:00
sudoers.d autoconf: use include directives instead of recursing down etc 2022-05-10 10:19:58 -07:00
systemd Revert "systemd: Use non-absolute paths in Exec* lines" 2023-06-07 11:14:05 -07:00
zfs autoconf: use include directives instead of recursing down etc 2022-05-10 10:19:58 -07:00
Makefile.am etc: mask zfs-load-key.service 2022-10-12 15:27:55 -07:00