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

Zbigniew Luszpinski zbiggy at lunar-linux.org
Mon Jun 25 12:22:03 CEST 2007


Author: zbiggy
Date: 2007-06-25 12:22:02 +0200 (Mon, 25 Jun 2007)
New Revision: 25018

Added:
   moonbase/trunk/utils/acpid/power
Modified:
   moonbase/trunk/utils/acpid/BUILD
Log:
Restored power action removed by Moe at r23158.
Maybe power template is "horrible outdated" but works.
I prefer old working solutions over new which does not exist yet.
(without power file I can not shutdown machine using power button)


Modified: moonbase/trunk/utils/acpid/BUILD
===================================================================
--- moonbase/trunk/utils/acpid/BUILD	2007-06-24 23:44:19 UTC (rev 25017)
+++ moonbase/trunk/utils/acpid/BUILD	2007-06-25 10:22:02 UTC (rev 25018)
@@ -5,6 +5,7 @@
   default_make &&
 
   mkdir -p /etc/acpi/events /etc/acpi/actions &&
+  install -D -m644 ${SCRIPT_DIRECTORY}/power /etc/acpi/events/power &&
   gather_docs samples/acpi_handler.sh samples/sample.conf
 
 ) > $C_FIFO 2>&1

Added: moonbase/trunk/utils/acpid/power
===================================================================
--- moonbase/trunk/utils/acpid/power	                        (rev 0)
+++ moonbase/trunk/utils/acpid/power	2007-06-25 10:22:02 UTC (rev 25018)
@@ -0,0 +1,2 @@
+event=button/power.*
+action=/sbin/poweroff
\ No newline at end of file



More information about the Lunar-commits mailing list