service-manager 136 Bytes
Newer Older
fnux's avatar
fnux committed
1 2 3 4 5 6 7 8
#!/bin/sh

# Assume systemd if systemctl is in PATH.
if [ "$(command -v systemctl)" ]; then
	printf "systemd"
else
	printf "unknown"
fi