[SunHELP] General Boot Question
Bret Adams
bret at fabrikant.com
Mon Oct 14 13:29:42 CDT 2002
Hey Everybody:
This is more of a general UNIX question but I have a bet with a buddy and I
just want to confirm this so I can settle this issue.
My position is that when UNIX boots up the inittab file designates the
default level of run level usually three unless someone pushes it to
another run level at the shutdown command or init command. Lets say its
run level three, after starting up the kernel it processes the S scripts in
rc2.d and then rc3.d. Usually the S scripts in the rc directories are
nothing more than links to initialization scripts in /etc/init.d This way
you have one central place for administration.
My buddy thinks that the scripts in init.d are used from init.d in the
bootup process. I am trying to explain that if that was the case then why
have the rc directories.
I just wanted to confirm that init.d is just a repository for the
initialization scripts that the rc directories reference through links for
bootup or shutdown. Or you can use the scripts in init.d for when you need
to shutdown and restart services without rebooting. The actual init.d
directory is NOT where the system goes to find bootup scripts.
Thanks.
Bret
More information about the SunHELP
mailing list