diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-14 21:17:32 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-14 21:17:32 +0000 |
commit | 32a4e06db5408740e7d8f643adb8d2dffb3abd9e (patch) | |
tree | 400170fafa9d198b57019013059aea7b902e588e /meta/packages/tslib/tslib/tslib.sh | |
parent | 838c47ce6c1f49c16505fe658508a4df90c347fe (diff) | |
download | poky-32a4e06db5408740e7d8f643adb8d2dffb3abd9e.tar.gz |
tslib: Check touchscreen exists before setting TSLIB_TSDEVICE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3811 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/tslib/tslib/tslib.sh')
-rw-r--r-- | meta/packages/tslib/tslib/tslib.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/tslib/tslib/tslib.sh b/meta/packages/tslib/tslib/tslib.sh index 5221b05b8a..7068e8d922 100644 --- a/meta/packages/tslib/tslib/tslib.sh +++ b/meta/packages/tslib/tslib/tslib.sh | |||
@@ -1,6 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | 3 | if [ -e /dev/input/touchscreen0 ]; then |
4 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | 5 | ||
5 | export TSLIB_TSDEVICE | 6 | export TSLIB_TSDEVICE |
7 | fi | ||
6 | 8 | ||