mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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>
6 lines
98 B
Bash
6 lines
98 B
Bash
#!/bin/sh
|
|
|
|
if [ "$ACTION" = add ] && [ "$DEVICENAME" = event0 ]; then
|
|
/etc/init.d/acpid start
|
|
fi
|