Configured mangoh red as a router, however everytime I cycle power it loses its configuration and I have to redo it

I have found myself re-configuring mangoh red as a router following this tutorial and have had to do this every day. Every time I power cycle the cfg_gateway.sh file which I store in the /tmp folder on mangoh red is removed. afile, from my understanding, is the file that sets up the configuration. Is there a way to store these parameters to the mangoh red so that they stick, and I do not have to do this everytime I start up? I would like to use the mangoh red in a consumer based product, but this absolutely will not work if this step must be taken everytime I have to do a power cycle.

You can put the file in /home/root