summaryrefslogtreecommitdiff
path: root/packages/gpe-session-scripts/files/zaurus.sh
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-12-11 12:31:02 +0000
committerPhil Blundell <philb@gnu.org>2004-12-11 12:31:02 +0000
commitb3e0192c96ca34ae5f78b038f1cc481aeded52a3 (patch)
tree75d4cfd0ea62b46f5b0bec0befb8ed6591494ca2 /packages/gpe-session-scripts/files/zaurus.sh
parent84eec6b0a541e6f6157582c3aaa3102f97968bc2 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/11 12:30:20+00:00 nexus.co.uk!pb add keymap for simpad BKrev: 41bae8864uix0MSUh28BQUckD_DrBg
Diffstat (limited to 'packages/gpe-session-scripts/files/zaurus.sh')
-rw-r--r--packages/gpe-session-scripts/files/zaurus.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gpe-session-scripts/files/zaurus.sh b/packages/gpe-session-scripts/files/zaurus.sh
index e69de29bb2..61ca84b595 100644
--- a/packages/gpe-session-scripts/files/zaurus.sh
+++ b/packages/gpe-session-scripts/files/zaurus.sh
@@ -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
+