How about messing with the init levels?  That way, you tell the box at
boot-up to go to init 4, which you have set up as the extra
configuration, and it runs your extra scripts.  I don't know how this
would hose up the distro stuff, or whatever admin tools you use, though.

Overview of init levels.
/etc/rc.d contains all of this.  there is a file called inittab that is
the configure file for all init levels.  It's worth a look to see what
goes on.

rc.d also contains scripts such as serial or apache, which control
starting and stopping each service that runs automatically.  There are
also directories named rcx.d, where x is a number for each init level.
Each rcx.d contains links to the scripts in rc.d, and these are named
S02serial, where S stands for start (or K for Kill), the number is what
order to run these in (very important sometimes), and the serial stands
for what service (SHOULD be the same as the script that it's linked to).

--Mike
Michael J. Smith
Flyfisher, Russian Translator, and Linux-Geek-At-Large

Reply via email to