rc.tcpip File for TCP/IP

Purpose

Initializes daemons at each system restart.

Description

The /etc/rc.tcpip file is a shell script that, when executed, uses SRC commands to initialize selected daemons. The rc.tcpip shell script is automatically executed with each system restart. It can also be executed at any time from the command line.

Most of the daemons that can be initialized by the rc.tcpip file are specific to TCP/IP. These daemons are:

  • inetd (started by default)
  • gated
  • routed
  • named
  • timed
  • rwhod
    Note: Running the gated and routed daemons at the same time on a host may cause unpredictable results.

There are also daemons specific to the base operating system or to other applications that can be started through the rc.tcpip file. These daemons are:

The syslogd daemon is started by default.

Examples

  1. The following stanza starts the syslogd daemon:
    #Start up syslog daemon (for err
    or and event logging)
    start /usr/sbin/syslogd "$src_running"
  2. The following stanza starts the lpd daemon:
    #Start up print daemon
    start /usr/sbin/lpd "$src_running"
  3. The following stanza starts the routed daemon, but not the gated daemon:
    #Start up routing daemon (only s
    tart ONE)
    start /usr/sbin/routed "$src_running" -g
    #start /usr/sbin/gated "$src_running"