summaryrefslogtreecommitdiff
path: root/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh')
-rw-r--r--gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh b/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
index e69de29bb2..945d2f04bd 100644
--- a/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
+++ b/gpe-session-scripts/gpe-session-scripts-0.61/zaurus.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -z "`which chkhinge`" ]; then
+ # probably not a zaurus
+ exit 0
+fi
+
+chkhinge -e
+if [ $? = 10 ]; then
+ xrandr -o right
+fi
+