Am Montag, den 05.11.2012, 18:22 +0000 schrieb P .NIKOLIC:
> How do i check to see if it is systemd or not

$ printf "%d" `systemd-notify --booted`

man systemd-notify:
“[…]
--booted
Returns 0 if the system was booted up with systemd, non-zero otherwise.
[…]”

Reply via email to