packages/utils/acpid/files/acpid.hotplug
heil 3661e01a0d acpid: Import from oldpackages, update to latest version, add myself as
maintainer, ensure musl compatibility

 - with acpid kvm based setups can react on acpi shutdown and reboot
 actions

Signed-off-by: heil <heil@terminal-consulting.de>
2015-06-17 17:25:52 +02:00

7 lines
156 B
Bash

#!/bin/sh
. /lib/functions.sh
if [ "$ACTION" = add ] && [ "$DEVICENAME" = event0 ]; then
( /etc/init.d/acpid/stop; sleep 3; /usr/sbin/acpid )&
fi