diff options
Diffstat (limited to 'recipes/ti/matrix-gui/init')
-rwxr-xr-x | recipes/ti/matrix-gui/init | 7 |
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 "." ;; |