Improve default app startup script
authorFlorian Boor <florian@kernelconcepts.de>
Thu, 5 Jul 2018 10:25:04 +0000 (12:25 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Thu, 5 Jul 2018 10:25:04 +0000 (12:25 +0200)
recipes-bsp/application/files/StartApplication.sh [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index fafcdc1..acefc6b
@@ -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