From: Silvio Rhatto Date: Thu, 21 Feb 2013 22:43:12 +0000 (-0300) Subject: Changing leds output (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7671cbdc3e412a852f8ef58cd0e78b5bbd459618;p=scripts.git Changing leds output (2) --- diff --git a/leds b/leds index 4d6639f..0192976 100755 --- a/leds +++ b/leds @@ -5,7 +5,7 @@ # ledstate="`xset q 2>/dev/null | grep LED`" -ledstate="`echo $ledstate | sed s/[^1-9]//g`" +ledstate="`echo $ledstate | sed s/[^1-9]//g`" case "$ledstate" in '1') echo "[CapsLock]"