if [ -f /etc/profile.d/tslib.sh ]; then
source /etc/profile.d/tslib.sh
fi
- if [ -e $TSLIB_TSDEVICE ]; then
+ if [ -e "$TSLIB_TSDEVICE" ]; then
if [ ! -f /etc/pointercal ]; then
/usr/bin/ts_calibrate
fi
- if [ $QTDEMO == qtdemo ]; then
+ if [ "$QTDEMO" == qtdemo ]; then
Xorg &
export DISPLAY=:0
$QTDEMO &
QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO &
fi
else
- if [ $QTDEMO == qtdemo ]; then
+ if [ "$QTDEMO" == qtdemo ]; then
Xorg &
export DISPLAY=:0
fi
;;
stop)
echo "Stopping qtdemo"
- if [ $QTDEMO == qtdemo ]; then
+ if [ "$QTDEMO" == qtdemo ]; then
killall Xorg
killall qtdemo
else
DESCRIPTION = "Init script for qtdemo"
LICENSE = "MIT"
SRC_URI = "file://qtdemo-init"
-PR = "r2"
+PR = "r3"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"