8 lines
136 B
Bash
Executable file
8 lines
136 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Assume systemd if systemctl is in PATH.
|
|
if [ "$(command -v systemctl)" ]; then
|
|
printf "systemd"
|
|
else
|
|
printf "unknown"
|
|
fi
|