Advertisement
Guest User

output

a guest
Dec 31st, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. james@james-Inspiron-N4010:~$ cat /etc/acpi/brightness-up.sh
  2. #!/bin/sh
  3.  
  4. max=`cat /sys/class/backlight/intel_backlight/max_brightness`
  5. cur=`cat /sys/class/backlight/intel_backlight/actual_brightness`
  6.  
  7. cur=$((cur + max / 4))
  8.  
  9. if [ $cur -gt $max ]; then
  10. cur=$max
  11. fi
  12.  
  13. echo $cur > /sys/class/backlight/intel_backlight/brightness
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement