From 0cd155adefe28eeb35bad415372bb1027ab2ab96 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Thu, 5 Jul 2018 12:25:04 +0200 Subject: [PATCH] Improve default app startup script --- recipes-bsp/application/files/StartApplication.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) mode change 100755 => 100644 recipes-bsp/application/files/StartApplication.sh diff --git a/recipes-bsp/application/files/StartApplication.sh b/recipes-bsp/application/files/StartApplication.sh old mode 100755 new mode 100644 index fafcdc1..acefc6b --- a/recipes-bsp/application/files/StartApplication.sh +++ b/recipes-bsp/application/files/StartApplication.sh @@ -11,10 +11,11 @@ echo "Starting application..." export QT_QPA_FONTDIR=/usr/share/fonts/truetype export FB_MULTI_BUFFER=2 -rmmod evbug +rmmod evbug 2>&1 > /dev/null # run application - -Qt5_CinematicExperience -platform eglfs& +if [ -x /usr/bin/Qt5_CinematicExperience ]; then + Qt5_CinematicExperience -platform eglfs& +fi -- 2.39.5