blob: 4c3b7f12911802218e4973d0d650e390e3095c6f (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
# Try to determine and ignore false rotation signals caused by
# headphones removal or remote removal remembering the old state.
# OE#3390
if test "`cat /var/run/last-screen-rotation`" = portait ; then
exit
fi
echo portait > /var/run/last-screen-rotation
|