The /etc/rc.d/rc.inet2 file is there for the other part of
networking: setting up services and daemons and handling any interesting
networking options. Let's look at a sample block:
# Start the NAMED/BIND name server:
if [ -f ${NET}/named ]; then
echo -n " named"
${NET}/named -u daemon -g daemon
fi |
The important line here is the fourth, which actually runs
named(8). The rest is icing: that “if”
statement checks to see if there's actually a named program
where it's expected to be, and the echo line reports that
named is being started when the system is booting. You'll
find that most of the servers started from rc.inet2 are
run from within blocks like these; simple tests to see if there's any obvious
reason they shouldn't be run, a report that they're being started, and then
the commands to start the services themselves. Again,
rc.inet2 is pretty heavily commented; poke around in it
for a while.