I've tried using shells (config.sh) to start both apps but it will only start the first one that is called. I'm sure I'm missing something simple but I'm not sure what at this point.
Here is my current config.sh file.
- Code: Select all
#! /bin/sh
export SB_PLUGINS=/home/root/mnt/mmc/storyboard_engines/linux-imx6dl/linux-imx6yocto-armle-fbdev-obj/plugins
export LD_LIBRARY_PATH=/home/root/mnt/mmc/storyboard_engines/linux-imx6dl/linux-imx6yocto-armle-fbdev-obj/lib:$LD_LIBRARY_PATH
echo $SB_PLUGINS
echo $LD_LIBRARY_PATH
sleep 1
cd /home/root/mnt/mmc/storyboard_engines/linux-imx6dl/linux-imx6yocto-armle-fbdev-obj/bin
chmod +x sbengine
cd /home/root/mnt/mmc/storyboard_engines/linux-imx6dl/linux-imx6yocto-armle-fbdev-obj/plugins
chmod +x *.so
cd
systemctl stop lxdm.service
echo -e '\033[9;0]' >> /dev/tty1
sleep 1
modprobe fusion_F0710A
sleep 1
# Display depth (16, 24, 32) 24/32 causes flickering on some displays
# fbset -depth 16
/home/root/mnt/mmc/storyboard_engines/linux-imx6dl/linux-imx6yocto-armle-fbdev-obj/bin/sbengine -vvvv -omtdev,device=/dev/input/touchscreen0 -ogesture,mode=multi -ogreio,channel=LCA.gapp /home/root/mnt/mmc/storyboard_export/LCA/LCA.gapp
cd /home/root/mnt/mmc/storyboard_export/LCA
chmod +x libmodbus
./libmodbus
Is there a better way to do this (Daemons, Systemd, etc.) or am I on the right track?
Thanks.