# Precheck for the ACPI hotplug daemon. Runs before `acpihpd` and
# disables it on platforms without ACPI hotplug (i440fx KVM, etc.) so
# the daemon doesn't false-positive as "failed" at boot. On supported
# platforms (bare metal, q35 KVM) this is a no-op and acpihpd starts
# normally.
[service]
name = "acpihpd-check"
description = "Disable acpihpd if no ACPI hotplug controller"
type = "oneshot"
[exec]
start = "/etc/zyginit/services/acpihpd-check/start.sh"
[dependencies]
requires = ["filesystem"]
[restart]
on = "never"
