[packages] acpid: fix copyright year, depend on kmod-acpi-button, use init script...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 19 Mar 2012 23:50:43 +0000 (23:50 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 19 Mar 2012 23:50:43 +0000 (23:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31038 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/acpid/Makefile

index 01533d4..23a07ec 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010 OpenWrt.org
+# Copyright (C) 2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -22,7 +22,7 @@ define Package/acpid
   CATEGORY:=Utilities
   TITLE:=The ACPI Daemon (acpid) With Netlink Support
   URL:=http://tedfelix.com/linux/acpid-netlink.html
-  DEPENDS:=+kmod-input-evdev +kmod-button 
+  DEPENDS:=+kmod-input-evdev +kmod-acpi-button
 endef
 
 define Package/acpid/description
@@ -56,7 +56,7 @@ define Package/acpid/postinst
        echo "waiting for input devices to come up"
        /etc/init.d/acpid enable
        sleep 5
-       /usr/sbin/acpid
+       /etc/init.d/acpid start
        echo "please try the power button"
        exit 0
 }