packages/utils/acpid/files/acpid.hotplug
jow 3f579aba93 [packages] /etc/functions.sh => /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 15:54:57 +00: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