repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some updates
[cmdllinux.git]
/
scripts
/
_brightness.sh
blob
6df1994520008efbd03b876341edd347591d5c6e
1
[
-z
"
$1
"
] &&
BR
=
2
|| BR
=
$1
2
3
LSBRF
=
`find /sys -type f -name "brightness" -path "*video*"`
4
[
-z
"
$LSBRF
"
] &&
exit
0
5
OIFS
=
$IFS
6
IFS
=
$
'
\n
'
7
for
file
in
$LSBRF
;
do
8
echo
$BR
>
$file
9
done
10
IFS
=
$OIFS