> Where is it normally initialized at boot?

This is standard  "SysV INIT" stuff.
Is it SuSE or RedHat?   No great difference,  except that they prefer
different run levels.   I'll use SuSE's run levels for this example.

Say the default run level is 3.
/etc/rc.d/rc3.d  contains sym-links to scripts
which physically reside in  /etc/rc.d/init.d.
SuSE may also set the default run-level to 2,
for which the "startup folder" is /etc/rc.d/rc2.d.

The links should look something like

        /etc/rc.d/rc3.d/S90sshd -> /etc/rc.d/init.d/sshd
        /etc/rc.d/rc3.d/K10sshd -> /etc/rc.d/init.d/sshd

These may also be in your rc2.d directory (on SuSE)
allowing that SSHD will start in both run-levels,  2 and 3.
Or it might be in just one of them.   (It's a sysadmin choice.)

The effect is that INIT scans the directory matching the run-level
and executes all the "S" scripts,  in sequence,  with a  "start"
parm when entering the run level.   When leaving a run-level,
it executes all the "K" scripts,  supplying each with a "stop" parm.

Reply via email to