summaryrefslogtreecommitdiff
path: root/packages/xserver-common/files/calibrate-only-if-ts.patch
blob: 7be808ba04d32d683320022675fe84f9909355b6 (plain)
1
2
3
4
5
6
7
8
9
--- a/run-calibrate.sh.org	2006-10-12 10:19:42.000000000 +0000
+++ b/run-calibrate.sh	2007-02-09 17:54:55.000000000 +0000
@@ -1,3 +1,5 @@
 #! /bin/sh
 
-exec xtscal
+if [ -e /dev/input/touchscreen0 ]; then
+    exec xtscal
+fi