pmaports/device/testing/device-sony-nicki/screen-workaround.sh
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

10 lines
186 B
Bash

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
}