I am just starting with a device from Sierra Wireless (FX-30) running the Legato Linux distribution.
We have not started developing any applications yet but I am just trying to test posting some data to the internet every minute. This is done with a shell script I wrote using
curl and a
By default this script cannot make connections to the internet, it is blocked by the firewall. In order to bypass this another script with the below command is ran
iptables -I INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Now that my script can start and post data to the internet I wanted to run it in the background and have it start at boot. I wrote another script to