pmaports/device/testing/device-samsung-klte/set-brightness
Luca Weiss e350b00b9b
treewide: chmod -x files (MR 1237)
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports.
Remove the executable bit from those files.

[ci:skip-build]
[ci:skip-vercheck]
2020-05-23 17:29:18 +02:00

5 lines
134 B
Bash

#!/bin/sh
if [ -n "$1" ]; then
echo $1 > /sys/class/leds/lcd-backlight/brightness
fi
cat /sys/class/leds/lcd-backlight/brightness