-
Mathieu Parent authored
systemd includes a function, sd_booted(3), for this: Internally, this function checks whether the directory /run/systemd/system/ exists. A simple check like this can also be implemented trivially in shell or any other language. Changelog: changed
cafe7cc4