packages/utils/acpid/files/acpid.hotplug
2018-10-18 16:56:47 +08:00

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