git.openpandora.org
/
openpandora.oe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
op_bright: Bugfix: Pressing Cancel did set brightness to 0.
[openpandora.oe.git]
/
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
(file)
new mode 100755
(executable)
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