[Pm-utils] [PATCH 08/17] No need for extraneous redirects in 05led any more.

Victor Lowther victor.lowther at gmail.com
Sat Feb 9 18:31:12 PST 2008


---
 pm/sleep.d/05led |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pm/sleep.d/05led b/pm/sleep.d/05led
index 58dbbfd..5b4f7b6 100755
--- a/pm/sleep.d/05led
+++ b/pm/sleep.d/05led
@@ -4,10 +4,10 @@
 
 case "$1" in
 	hibernate|suspend)
-		{ echo "7 blink" >/proc/acpi/ibm/led ; } 2>/dev/null
+		echo "7 blink" >/proc/acpi/ibm/led
 		;;
 	thaw|resume) 
-		{ echo "7 off" >/proc/acpi/ibm/led ; } 2>/dev/null
+		echo "7 off" >/proc/acpi/ibm/led
 		;;
 	*)
 		;;
-- 
1.5.3.8



More information about the Pm-utils mailing list