The attached patch uses the same semantics as systemd's "sd_booted()" method to determine if systemd was used to boot the system. This should work independent of distribution or version, making it a much more robust mechanism for detecting if systemd is in use.
The attached patch uses the same semantics as systemd's "sd_booted()" method to determine if systemd was used to boot the system. This should work independent of distribution or version, making it a much more robust mechanism for detecting if systemd is in use.