Author: havner                       Date: Mon Aug 14 21:32:55 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- formatting/author

---- Files affected:
SOURCES:
   acpid.button.sh (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/acpid.button.sh
diff -u SOURCES/acpid.button.sh:1.4 SOURCES/acpid.button.sh:1.5
--- SOURCES/acpid.button.sh:1.4 Mon Jul 24 19:20:25 2006
+++ SOURCES/acpid.button.sh     Mon Aug 14 23:32:49 2006
@@ -1,5 +1,6 @@
 #!/bin/sh
 # /etc/acpid/actions/button.sh
+# Ɓukasz Pawelczyk <[EMAIL PROTECTED]>
 #
 # Detect buttons pressed and take appropriate actions.
 
@@ -9,36 +10,36 @@
 set $*
 
 case "$1" in
-       button/power)
-               logger "acpid: $1 action is not defined."
-               # halt computer
-               #halt
-               # put computer to sleep (not all machines have sleep button)
-               #echo mem > /sys/power/state
-               #hibernate
-               ;;
-       button/sleep)
-               logger "acpid: $1 action is not defined"
-               # put computer to sleep
-               #echo mem > /sys/power/state
-               #hibernate
-               ;;
-       button/lid)
-               logger "acpid: $1 action is not defined"
-               # put computer to sleep
-               #echo mem > /sys/power/state
+  button/power)
+       logger "acpid: $1 action is not defined."
+       # halt computer
+       #halt
+       # put computer to sleep (not all machines have sleep button)
+       #echo mem > /sys/power/state
+       #hibernate
+       ;;
+  button/sleep)
+       logger "acpid: $1 action is not defined"
+       # put computer to sleep
+       #echo mem > /sys/power/state
+       #hibernate
+       ;;
+  button/lid)
+       logger "acpid: $1 action is not defined"
+       # put computer to sleep
+       #echo mem > /sys/power/state
 
-               # if you want to specify separate commands for
-               # lid open/close uncomment this section:
+       # if you want to specify separate commands for
+       # lid open/close uncomment this section:
 
-               #ODD=`echo $4 | grep "[13579bdf]$"`
-               #if [ "$ODD" ]; then
-               #       logger "acpid: lid close action is not defined"
-               #else
-               #       logger "acpid: lid open action is not defined"
-               #fi
-               ;;
-       *)
-               logger "acpid: $1 action is not defined"
-               ;;
+       #ODD=`echo $4 | grep "[13579bdf]$"`
+       #if [ "$ODD" ]; then
+       #       logger "acpid: lid close action is not defined"
+       #else
+       #       logger "acpid: lid open action is not defined"
+       #fi
+       ;;
+  *)
+       logger "acpid: $1 action is not defined"
+       ;;
 esac
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/acpid.button.sh?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to