Run shell script at startup


What is the proper way to run a shell script every time FX30s powers on?

In addition, i want to add some rules to my iptables e.g. accept all incoming / outcoming connections. Is it better to save my conf to iptables rules or put these commands to the startup script?

you can run a unsandboxed legato application to call a script by sytsem().
You can see here: