[Lunar-commits] r18782 - moonbase/trunk/utils/acpid

Florin Braescu florin at lunar-linux.org
Sat Feb 18 06:55:45 UTC 2006


Author: florin
Date: 2006-02-18 06:55:44 +0000 (Sat, 18 Feb 2006)
New Revision: 18782

Added:
   moonbase/trunk/utils/acpid/power
Modified:
   moonbase/trunk/utils/acpid/BUILD
Log:
apply zbiggy's patch.

Modified: moonbase/trunk/utils/acpid/BUILD
===================================================================
--- moonbase/trunk/utils/acpid/BUILD	2006-02-17 22:55:20 UTC (rev 18781)
+++ moonbase/trunk/utils/acpid/BUILD	2006-02-18 06:55:44 UTC (rev 18782)
@@ -1,7 +1,7 @@
 (
 
   default_make &&
-  mkdir -p /etc/acpi/events &&
+  install -D -m644 ${SCRIPT_DIRECTORY}/power /etc/acpi/events/power &&
 
   gather_docs samples/acpi_handler.sh samples/sample.conf
 

Added: moonbase/trunk/utils/acpid/power
===================================================================
--- moonbase/trunk/utils/acpid/power	2006-02-17 22:55:20 UTC (rev 18781)
+++ moonbase/trunk/utils/acpid/power	2006-02-18 06:55:44 UTC (rev 18782)
@@ -0,0 +1,2 @@
+event=button/power.*
+action=/sbin/poweroff



More information about the Lunar-commits mailing list