Comment 1 for bug 1461201

Revision history for this message
Lars Kellogg-Stedman (larsks) wrote :

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.