View Single Post
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#5
Originally Posted by JonWW View Post
If you just have to run stuff once each startup then place your script in /etc/event.d
If your script stays in ram monitoring things then, write a startup script in /etc/event.d but put the main script in /etc/init.d
As epitaph says there are lots of examples in both directories for you to learn from.
Why not put the main script in /opt inside an application folder? It doesn't take that much diskspace from rootfs.