Jump to content
OMRON Forums

How does linux start up work?


Recommended Posts

Linux startup scripts are usually in /etc/init.d/ Then a symbolic link is placed in /etc/rcX.d where X is the runlevel the system is starting in. We start in runlevel 2. So linux starts all the scripts in /etc/rc2.d that begin with the letter S. Their order is determined by the number following S. So /etc/rc2.d/S05myscriptA starts before /etc/rc2.d/S50myscriptB Now for our system the /etc folder is a writable image residing in RAM of /.readonly/etc So if you want your script to be permanent place it in /.readonly/etc/rc2.d You can google linux startup scripts to learn all the gory details of how linux starts up.
Link to comment
Share on other sites

  • 6 years later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

This topic is now closed to further replies.

  • Create New...