/etc/inittab shows the run levels that are available and shows the default run level that will happen when system is started.
Actual startup scripts are in /etc/rc.d/init.d. In the various folders /etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d and so on are links to the actual scripts in init.d.
To run your own script at startup, put the script in /etc/rc.d/rc.local
use chkconfig --list to see what programs are started at the various run levels. Some distros use update-rc.d instead of chkconfig
To see what services will be started by xinetd when needed, look in /etc/inetd.d.
No comments:
Post a Comment