]> git.karo-electronics.de Git - meta-tx09.git/blob - recipes-bsp/application/files/StartApplication.sh
custom-appstart: add customized startup script and logo
[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
10 # set up environment
11
12 export QT_QPA_FONTDIR=/usr/share/fonts
13
14 if [ -x /usr/bin/rygel ]; then
15         /usr/bin/rygel &
16 fi
17