SOURCES: acpid.battery.sh, acpid.button.sh - cosmetics

havner havner at pld-linux.org
Fri Aug 18 04:39:14 CEST 2006


Author: havner                       Date: Fri Aug 18 02:39:14 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SOURCES:
   acpid.battery.sh (1.3 -> 1.4) , acpid.button.sh (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/acpid.battery.sh
diff -u SOURCES/acpid.battery.sh:1.3 SOURCES/acpid.battery.sh:1.4
--- SOURCES/acpid.battery.sh:1.3	Mon Aug 14 23:32:18 2006
+++ SOURCES/acpid.battery.sh	Fri Aug 18 04:39:09 2006
@@ -57,7 +57,7 @@
 case "$BAT_STATE" in
   warning)
 	# battery passed acpi alarm state and AC unplugged
-	logger "acpid: Remaining `basename $BAT` battery capacity low"
+	logger "acpid: Remaining `basename $BAT` battery capacity low."
 	# play alarm sound
 	#play /path_to/alarm.wav
 	# put computer to sleep
@@ -66,7 +66,7 @@
 	;;
   critical)
 	# some laptops generate acpi event when machine is about to turn off
-	logger "acpid: Remaining `basename $BAT` battery capacity VERY low"
+	logger "acpid: Remaining `basename $BAT` battery capacity VERY low."
 	# play alarm sound
 	#play /path_to/alarm.wav
 	# put computer to sleep
@@ -78,6 +78,6 @@
 	;;
   *)
 	# battery in undetermined state
-	logger "acpid: Could not determine `basename $BAT` battery state"
+	logger "acpid: Could not determine `basename $BAT` battery state."
 	;;
 esac

================================================================
Index: SOURCES/acpid.button.sh
diff -u SOURCES/acpid.button.sh:1.5 SOURCES/acpid.button.sh:1.6
--- SOURCES/acpid.button.sh:1.5	Mon Aug 14 23:32:49 2006
+++ SOURCES/acpid.button.sh	Fri Aug 18 04:39:09 2006
@@ -19,13 +19,13 @@
 	#hibernate
 	;;
   button/sleep)
-	logger "acpid: $1 action is not defined"
+	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"
+	logger "acpid: $1 action is not defined."
 	# put computer to sleep
 	#echo mem > /sys/power/state
 
@@ -40,6 +40,6 @@
 	#fi
 	;;
   *)
-	logger "acpid: $1 action is not defined"
+	logger "acpid: $1 action is not defined."
 	;;
 esac
================================================================

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



More information about the pld-cvs-commit mailing list