Deploying Linux on IBM eServer pSeries Clusters
by Dino Quintero, Prabhakar Attaluri, Tomas Baublys, Xinghong He, Chin Yau Lee, Francois Thomas
3.4. Runlevels
Init is a process started by the kernel during the boot, and it takes over the control of the start sequence. The main configuration file is /etc/inittab. In this file we can provide the default runlevel. The default runlevel for systems with graphical login is 5 without 3.
The first script started by init is /etc/init.d/boot, after it runs all startscripts in /etc/init.d/rc3.d (or rc5.d, for runlevel 5). If you want to add something to be run before the runlevel scripts, add it to /etc/init.d/boot.local.
If you need to add something in runlevel 3 or runlevel 5, then place your script in /etc/init.d and place a link starting with S+number and K+number in /etc/initrd/rc5.d.
Tip
On SuSE SLES8, use /etc/init.d/skeleton as a template ...