Pretty much all rc.* files are started from '/etc/rc.d/rc.M'. If you look in there you'll see that it checks each rc.* file listed in rc.M to see if it's executable, if it is, then it executes it. However if it is not in rc.M at all then it will not get executed.
So to remove rc.* files from the startup process make them unexecutable 'chmod a-x rc.avahi'
To add rc.* files to the startup process, if they are listed in rc.M, make them executable 'chmod a+x rc.pgsql', if they are not listed in rc.M, then you can either add them to rc.M (back it up of course), or to rc.local (which is run by rc.M if executable), your choice. Sometimes you must put them in rc.M because it must be started at a certain time, is the time it is started is irrelevant you can put it in rc.local.
Also note that rc.M is for multi-user mode, and rc.S is for single-user mode. rc.S is always executed, but rc.M is only executed when entering multi-user mode (the default).
Last edited by H_TeXMeX_H; 09-04-2008 at 04:11 AM.
|