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

10 lines
186 B
Bash

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