summaryrefslogtreecommitdiff
path: root/recipes/ti/matrix-gui
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2010-05-06 01:47:47 -0400
committerDenys Dmytriyenko <denis@denix.org>2010-05-06 01:47:47 -0400
commit7fffc9eaebe7236d6f6031e0dc6a6e70e5757b13 (patch)
tree855f6851da78653a5957109ee2397190bb8dd61b /recipes/ti/matrix-gui
parente20657200f04b14d9a7ca968405c841c8c6d617a (diff)
matrix-gui: numerous updates and fixes (from Arago)
* Bump the revision * Fix the license * Don't set redundant variables * Display message when calibrating TS * Install additional binaries/scripts Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Diffstat (limited to 'recipes/ti/matrix-gui')
-rwxr-xr-xrecipes/ti/matrix-gui/init7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/ti/matrix-gui/init b/recipes/ti/matrix-gui/init
index 9cd7412e28..8259417cca 100755
--- a/recipes/ti/matrix-gui/init
+++ b/recipes/ti/matrix-gui/init
@@ -5,18 +5,17 @@ GUI_OPTS="-qws -display transformed:Rot90 /usr/share/matrix/html/menu_main.html"
test -x "$matrixgui" || exit 0
-export LD_LIBRARY_PATH=/usr/lib
-export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_TSDEVICE=/dev/input/touchscreen0
-export TSLIB_CONFFILE=/etc/ts.conf
export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
case "$1" in
start)
- echo -n "Starting Matrix GUI application"
if [ ! -f /etc/pointercal ] ; then
+ echo -n "Calibrating touchscreen (first time only)"
ts_calibrate
+ echo "."
fi
+ echo -n "Starting Matrix GUI application"
start-stop-daemon --start --quiet --background --pidfile /var/run/matrix-gui.pid --exec $matrixgui -- $GUI_OPTS
echo "."
;;