URI:
       tno bashism - scripts - various script and utils
  HTML git clone git://z3bra.org/scripts
   DIR Log
   DIR Files
   DIR Refs
       ---
   DIR commit 7042c20a1b683e3ec4674aa52fbb0771d20087f0
   DIR parent b87ad9da6dbaa7b28e89667896cfc263faa39e41
  HTML Author: z3bra <willy@mailoo.org>
       Date:   Wed, 23 Apr 2014 18:04:54 +0200
       
       no bashism
       
       Diffstat:
         M battery                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/battery b/battery
       t@@ -46,7 +46,7 @@ test "$#" -eq 0 && level
        test "$#" -lt 3 && usage
        
        # if battery is charging, do not alert user
       -test "$BATS" == "Charging" && exit
       +test "$BATS" = "Charging" && exit
        
        test $BATC -lt $1 && sbell # one bip for level <low>
        test $BATC -lt $2 && sbell # two bip for level <critical>