qt-demo-init: fix init script
qt-demo-init initscript lacks some quotes, which makes it bave not fulle correct. Fix that. (From OE-Core rev: 84395cd31afd78a84d82a80297fe06f10406d57b) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4376a81af1
commit
0126118729
|
@ -14,11 +14,11 @@ case "$1" in
|
||||||
if [ -f /etc/profile.d/tslib.sh ]; then
|
if [ -f /etc/profile.d/tslib.sh ]; then
|
||||||
source /etc/profile.d/tslib.sh
|
source /etc/profile.d/tslib.sh
|
||||||
fi
|
fi
|
||||||
if [ -e $TSLIB_TSDEVICE ]; then
|
if [ -e "$TSLIB_TSDEVICE" ]; then
|
||||||
if [ ! -f /etc/pointercal ]; then
|
if [ ! -f /etc/pointercal ]; then
|
||||||
/usr/bin/ts_calibrate
|
/usr/bin/ts_calibrate
|
||||||
fi
|
fi
|
||||||
if [ $QTDEMO == qtdemo ]; then
|
if [ "$QTDEMO" == qtdemo ]; then
|
||||||
Xorg &
|
Xorg &
|
||||||
export DISPLAY=:0
|
export DISPLAY=:0
|
||||||
$QTDEMO &
|
$QTDEMO &
|
||||||
|
@ -26,7 +26,7 @@ case "$1" in
|
||||||
QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO &
|
QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO &
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $QTDEMO == qtdemo ]; then
|
if [ "$QTDEMO" == qtdemo ]; then
|
||||||
Xorg &
|
Xorg &
|
||||||
export DISPLAY=:0
|
export DISPLAY=:0
|
||||||
fi
|
fi
|
||||||
|
@ -35,7 +35,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping qtdemo"
|
echo "Stopping qtdemo"
|
||||||
if [ $QTDEMO == qtdemo ]; then
|
if [ "$QTDEMO" == qtdemo ]; then
|
||||||
killall Xorg
|
killall Xorg
|
||||||
killall qtdemo
|
killall qtdemo
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
DESCRIPTION = "Init script for qtdemo"
|
DESCRIPTION = "Init script for qtdemo"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
SRC_URI = "file://qtdemo-init"
|
SRC_URI = "file://qtdemo-init"
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
||||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
Loading…
Reference in New Issue