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>
7 lines
156 B
Bash
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
|