#!/bin/sh
-while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
-do
- /usr/bin/xtscal
-done
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+ while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
+ do
+ /usr/bin/xtscal
+ done
+fi
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor"
-PR = "r17"
+PR = "r18"
SRC_URI = "file://etc"
S = ${WORKDIR}
rm -fR ${D}/etc/*/.svn
rm -fR ${D}/etc/*/*/.svn
chmod -R 755 ${D}/etc
-}
\ No newline at end of file
+}