Commit c2c09da4 authored by sebt3's avatar sebt3

added change suggested by notaz

parent 7e704f08
......@@ -9,11 +9,11 @@ ENDHELP
case "$1" in
screen|[sS][Cc][rR]*)
FTOG="/var/lib/pyra/screen-toggle-value"
FPAT="/sys/devices/platform/backlight/backlight/backlight"
FPAT="/sys/class/backlight/backlight"
minbright=1;;
keyboard|[kK][eE][yY]*)
FTOG="/var/lib/pyra/keyboard-toggle-value"
FPAT="/sys/devices/platform/keyboard-backlight/backlight/keyboard-backlight"
FPAT="/sys/class/backlight/keyboard-backlight"
minbright=0;;
*) help "$0"
exit 1;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment