Bug#826214: Bug#913247: Please provide a C implementation of /lib/init/init-d-script
Dmitry Bogatov
KAction at debian.org
Sat Dec 1 17:15:01 GMT 2018
[2018-11-29 16:44] Mert Dirik <mertdirik at gmail.com>
> I've created a merge request for 40-systemd at
> https://salsa.debian.org/systemd-team/systemd/merge_requests/19 .
> Reviews and comments are welcomed.
>
> If this is fully applied, systemd redirection will work correctly for
> all init-d-script scripts (using init-d-script as the shebang or
> sourcing it afterwards) under all init-d-script versions ( whether it
> sets "__init_d_script_name" variable or not ) . In that case there
> would be no need for "__init_d_script_name" code in
> /lib/init/init-d-script anymore thus it can be dropped.
Thank you. Looks fine to me.
AFAIK, in shell [ "${foo}" ] is equal to [ -n "${foo}" ].
More information about the Pkg-systemd-maintainers
mailing list