mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-14 19:33:59 +02:00
![heil](/assets/img/avatar_default.png)
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>
8 lines
156 B
Bash
8 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
|