SOURCES: acpid.button.sh - simplified even more

adamg adamg at pld-linux.org
Mon Jul 24 19:20:30 CEST 2006


Author: adamg                        Date: Mon Jul 24 17:20:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- simplified even more

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

---- Diffs:

================================================================
Index: SOURCES/acpid.button.sh
diff -u SOURCES/acpid.button.sh:1.3 SOURCES/acpid.button.sh:1.4
--- SOURCES/acpid.button.sh:1.3	Mon Jul 24 18:12:17 2006
+++ SOURCES/acpid.button.sh	Mon Jul 24 19:20:25 2006
@@ -31,7 +31,7 @@
 		# if you want to specify separate commands for
 		# lid open/close uncomment this section:
 
-		#ODD=`echo $4 | grep "1$\|3$\|5$\|7$\|9\|b$\|d$\|f$"`
+		#ODD=`echo $4 | grep "[13579bdf]$"`
 		#if [ "$ODD" ]; then
 		#	logger "acpid: lid close action is not defined"
 		#else
================================================================

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



More information about the pld-cvs-commit mailing list