X-Git-Url: https://git.karo-electronics.de/?p=meta-tx09.git;a=blobdiff_plain;f=recipes-bsp%2Fapplication%2Ffiles%2FStartApplication.sh;fp=recipes-bsp%2Fapplication%2Ffiles%2FStartApplication.sh;h=81f13451447abb9561358abcc5f85bdd2fb6d86f;hp=0000000000000000000000000000000000000000;hb=cc98f7ad66122ae88d2a15f04462c3fea50d472a;hpb=85c4d6fd1c681701388e2276280094a9fe79ab4a diff --git a/recipes-bsp/application/files/StartApplication.sh b/recipes-bsp/application/files/StartApplication.sh new file mode 100644 index 0000000..81f1345 --- /dev/null +++ b/recipes-bsp/application/files/StartApplication.sh @@ -0,0 +1,17 @@ +#!/bin/sh +echo "Starting application..." + +# export gpio + +#echo 503 > /sys/class/gpio/export +#echo out > /sys/class/gpio/gpio503/direction + + +# set up environment + +export QT_QPA_FONTDIR=/usr/share/fonts + +if [ -x /usr/bin/rygel ]; then + /usr/bin/rygel & +fi +