]> git.kernelconcepts.de Git - meta-tx09.git/blob - recipes-bsp/application/files/StartApplication.sh
custom-appstart: kill splash app befor running application
[meta-tx09.git] / recipes-bsp / application / files / StartApplication.sh
1 #!/bin/sh
2 echo "Starting application..."
3
4 # export gpio
5
6 #echo 503 > /sys/class/gpio/export
7 #echo out > /sys/class/gpio/gpio503/direction
8
9 # kill splash app, leave contents in fb
10
11 killall -9 psplash-mucross psplash
12
13 # set up environment
14
15 export QT_QPA_FONTDIR=/usr/share/fonts
16
17 if [ -x /usr/bin/rygel ]; then
18         /usr/bin/rygel &
19 fi
20