From c70dcb4a042fee342175a6602bd71eaabdccf2f1 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Wed, 14 Apr 2010 01:07:23 +0200 Subject: [PATCH] op_bright: Bugfix: Pressing Cancel did set brightness to 0. --- recipes/pandora-system/pandora-scripts/op_bright.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 recipes/pandora-system/pandora-scripts/op_bright.sh 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 -- 2.39.2