diff options
-rw-r--r-- | setup-alpine.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setup-alpine.in b/setup-alpine.in index 06f5968..705056b 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -182,8 +182,9 @@ fi rc-update --quiet add networking boot rc-update --quiet add seedrng boot || rc-update --quiet add urandom boot svc_list="cron crond" -if [ -d /sys/firmware/acpi ]; then - # Only enable acpid for systems with ACPI +if [ -e /dev/input/event0 ]; then + # Only enable acpid for systems with input events entries + # https://gitlab.alpinelinux.org/alpine/aports/-/issues/12290 svc_list="$svc_list acpid" fi for svc in $svc_list; do |