while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
do
/usr/bin/xtscal
+ exit
done
+if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
+ if [ -e /usr/bin/fsoraw ] ; then
+ # because ts tap to unblank will be used as first calibration click and then store invalid calibration
+ fsoraw -fr CPU,Display -- /usr/bin/xinput_calibrator_once.sh
+ else
+ /usr/bin/xinput_calibrator_once.sh
+ fi
+ exit
+fi
+
SYSFS_CALIBRATION_DIR=/sys/bus/i2c/devices/0-0073/s3c2440-ts/calibration
if [ ! -d $SYSFS_CALIBRATION_DIR ]; then