diff --git a/dietpi/func/dietpi-set_hardware b/dietpi/func/dietpi-set_hardware index c5e271a83b..830cfedbbe 100755 --- a/dietpi/func/dietpi-set_hardware +++ b/dietpi/func/dietpi-set_hardware @@ -2384,13 +2384,11 @@ _EOF_ # shellcheck disable=SC2015 modprobe 'virtio_console' &> /dev/null && [[ -e '/dev/virtio-ports/org.qemu.guest_agent.0' ]] || { G_DIETPI-NOTIFY 2 'No QEMU Guest Agent node detected, skipping daemon installation ...'; return 1; } # Exit if node is missing - # Bullseye: logind and hence dbus required - if (( $G_DISTRO == 6 )) - then - G_AG_CHECK_INSTALL_PREREQ dbus - G_EXEC systemctl unmask systemd-logind - G_EXEC systemctl start systemd-logind - fi + # Enable logind for required ACPI functionality + G_AG_CHECK_INSTALL_PREREQ dbus + G_EXEC systemctl unmask systemd-logind + G_EXEC systemctl start systemd-logind + G_AG_CHECK_INSTALL_PREREQ qemu-guest-agent }