From: Michael Mrozek Date: Tue, 13 Apr 2010 23:07:23 +0000 (+0200) Subject: op_bright: Bugfix: Pressing Cancel did set brightness to 0. X-Git-Tag: Release-2010-05/1~54 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=c70dcb4a042fee342175a6602bd71eaabdccf2f1;hp=057b95d67d364f6d2ff4a08ee7f95d41d9b78649 op_bright: Bugfix: Pressing Cancel did set brightness to 0. --- diff --git a/recipes/pandora-system/pandora-scripts/op_bright.sh b/recipes/pandora-system/pandora-scripts/op_bright.sh old mode 100644 new mode 100755 index 548e3e5..666312b --- a/recipes/pandora-system/pandora-scripts/op_bright.sh +++ b/recipes/pandora-system/pandora-scripts/op_bright.sh @@ -12,5 +12,5 @@ fi if [ $newbright ]; then if [ $newbright -le $minbright ]; then newbright=$minbright; fi if [ $newbright -ge $maxbright ]; then newbright=$maxbright; fi + echo $newbright > $device fi -echo $newbright > $device