Files
packages/utils/acpid/files/acpid.hotplug
Oliver Sedlbauer 8744a706f1 acpid: prevent duplicate daemon instances
The hotplug script directly invokes /usr/sbin/acpid. If hotplug fires
before procd starts acpid, it cannot stop the procd-managed instance,
resulting in a second unmanaged acpid process running alongside it.

Fix this issue by letting ONLY procd manage the acpi daemon.

Signed-off-by: Oliver Sedlbauer <os@dev.tdt.de>
2026-03-02 13:37:58 +01:00

6 lines
98 B
Bash

#!/bin/sh
if [ "$ACTION" = add ] && [ "$DEVICENAME" = event0 ]; then
/etc/init.d/acpid start
fi