summaryrefslogtreecommitdiff
path: root/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus')
-rw-r--r--openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus12
1 files changed, 12 insertions, 0 deletions
diff --git a/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus
new file mode 100644
index 000000000..61ca84b59
--- /dev/null
+++ b/openembedded/packages/x11/x11-common/etc/X11/Xinit.d/11zaurus
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -z "`which chkhinge`" ]; then
+ # probably not a clamshell zaurus
+ exit 0
+fi
+
+chkhinge -e
+if [ $? = 12 ]; then
+ xrandr -o right
+fi
+