End Product Application Launch


The last action of G3 module init system is to launch the end product application. The /etc/init.d/user_app script first attempts to launch any installed Reach Technology demos. If the demo launch script is not found, it will look for and run the application launcher script, if found1. The launch scripts are located in /data/sbin.

Application and Demo Launch Scripts in /data/sbin

Script

Description

run_demos

Launch Reach Technology demos (supplied by Reach Technology)

run_application

Launch your end product application (supplied by you)

Important

Since the rootfs is read-only, developers should avoid modifying /etc/init.d/user_app.

Instead, developers should create their own /data/sbin/run_application script.


Footnotes:

1

In other words, the run_demos script takes precedence over the run_application script so you should remove run_demos when setting up the G3 module to run your application.