From 88b73553db0960eb8b5b62acfffa152986ea8882 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 20 Feb 2015 11:28:17 +0000 Subject: [PATCH] more generic systemd check --- vm/firstboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/firstboot.sh b/vm/firstboot.sh index 8a2ff2b6..52672aa2 100755 --- a/vm/firstboot.sh +++ b/vm/firstboot.sh @@ -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"