From a7a791236100e127e06f0638b9951668e84247af Mon Sep 17 00:00:00 2001 From: mrrudy <31594962+mrrudy@users.noreply.github.com> Date: Wed, 19 Oct 2022 12:35:06 +0200 Subject: [PATCH] indirect patch for systemctl --- setup/kodi-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/kodi-install.sh b/setup/kodi-install.sh index 4d0b4191..0cc5e609 100644 --- a/setup/kodi-install.sh +++ b/setup/kodi-install.sh @@ -162,7 +162,7 @@ cat > /etc/systemd/system/lightdm.service.d/override.conf << __EOF__ ExecStartPre=/bin/sh -c '/usr/local/bin/preX-populate-input.sh' SupplementaryGroups=video input audio __EOF__ -/usr/bin/systemctl daemon-reload +systemctl daemon-reload msg_ok "Set up device detection for xorg" PASS=$(grep -w "root" /etc/shadow | cut -b6); @@ -188,7 +188,7 @@ apt-get autoclean >/dev/null msg_ok "Cleaned" msg_info "Starting X up" -/usr/bin/systemctl start lightdm +systemctl start lightdm ln -fs /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service msg_info "Started X"