forked from 0x2620/pandora
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
|
ID=unknown
|
||||||
fi
|
fi
|
||||||
UBUNTU_VERSION="$VERSION_ID"
|
UBUNTU_VERSION="$VERSION_ID"
|
||||||
if [ "$ID" == "debian" ]; then
|
if [ -d "/run/systemd/system/" ]; then
|
||||||
SYSTEMD="yes"
|
SYSTEMD="yes"
|
||||||
else
|
else
|
||||||
SYSTEMD="no"
|
SYSTEMD="no"
|
||||||
|
|
Loading…
Reference in a new issue