pmaports/device/device-sony-aries/fb-workaround.sh
Luca Weiss 82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00

15 lines
308 B
Bash

main() {
# Wait until graphical environment is running
sleep 135
# Workaround for buggy graphics driver
for i in 1 2
do
echo "0,0" > /sys/class/graphics/fb0/pan
done
}
# tty1 autologin
if [ $(tty) = "/dev/tty1" ]; then
# Run in background, to make /etc/profile not wait for it to finish
main &
fi