more generic systemd check
This commit is contained in:
parent
2a63a3b300
commit
88b73553db
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ else
|
|||
ID=unknown
|
||||
fi
|
||||
UBUNTU_VERSION="$VERSION_ID"
|
||||
if [ "$ID" == "debian" ]; then
|
||||
if [ -d "/run/systemd/system/" ]; then
|
||||
SYSTEMD="yes"
|
||||
else
|
||||
SYSTEMD="no"
|
||||
|
|
Loading…
Reference in a new issue