forked from ungleich-public/cdist
9 lines
136 B
Text
9 lines
136 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# Assume systemd if systemctl is in PATH.
|
||
|
if [ "$(command -v systemctl)" ]; then
|
||
|
printf "systemd"
|
||
|
else
|
||
|
printf "unknown"
|
||
|
fi
|