pmaports/device/testing/device-sony-nicki/screen-workaround.sh

11 lines
186 B
Bash
Raw Normal View History

main() {
# Wait until graphical environment is running
sleep 5
# Workaround for buggy graphics driver
for i in 1 2
do
echo 255 > /sys/class/leds/lcd-backlight/brightness
done
}