config(4) config(4)
NAME
config - Internet networking services configuration file
SYNOPSIS
/etc/inet/config
DESCRIPTION
The config file contains information used to configure various
Internet networking services. The file is accessed by the
utility /etc/confnet.d/inet/initialize at boot time.
USAGE
For each networking service, the config file contains a one-
line entry of the form:
order:daemon:overriding-daemon:flag:config-filename:options:
The semantics of a config file entry can be summarized as
follows:
Using the sort sequence defined by the order field values
start the daemon daemon with options options when the
flag field contains the value Y or y and the config-
filename field contains a valid value
do not start the daemon daemon if overriding-daemon was
able to run by the same criteria
The fields in the config file are described as follows:
order is a required field that specifies the
order in which daemon is started, relative
to the other daemons defined in the config
file.
daemon is a required field that specifies the
full pathname of the daemon that
/etc/confnet.d/inet/initialize starts to
provide a particular network service.
overriding-daemon is an optional field that specifies the
full pathname of the daemon that
/etc/confnet.d/inet/initialize is to start
instead of starting daemon.
Copyright 1994 Novell, Inc. Page 1
config(4) config(4)
Note that, if
/etc/confnet.d/inet/initialize is unable
to invoke overriding-daemon (because, for
example, no entry exists for overriding-
daemon in the config file), or if the flag
field in the config file entry for
overriding-daemon is set to N or n, daemon
will be started instead.
flag is a required field that indicates whether
daemon is started at boot time. Values
are:
Y or y
start the daemon at boot time
N or n
do not start the daemon at boot time
config-filename is an optional field that specifies the
full pathname of the configuration file
associated with daemon.
If the flag field is set to Y or y, and if
the file config-filename is readable (or
the value of the config-filename field is
null), then /etc/confnet.d/inet/initialize
will start daemon.
options is an optional field that lists the
command options to be specified when
daemon is started.
Each field in an entry is separated by a colon; each entry in
the file is separated by a new-line.
The order field provides a mechanism for dealing with
dependencies between network services daemons at boot time.
For example, if your time daemon is fast enough to attempt to
reach the Internet before your routing daemon has established
a route for it to use, your time daemon will fail. In this
case, you would assign to your routing daemon a sort key value
in the order field that is less than the value you assign to
your time daemon. This ensures that your routing daemon is
started before your time daemon is started. Note that
multiple characters may be used as sort keys in the order
field. Note also that the physical sequence of entries in the
config file is unimportant; at boot time, daemons are started
Copyright 1994 Novell, Inc. Page 2
config(4) config(4)
using order field key values only.
Examples
Here is a sample config file:
1:/usr/eac/bin/initsock::y:::
5:/usr/sbin/in.named::y:/etc/inet/named.boot::
3:/usr/sbin/in.pppd::y:/etc/inet/ppphosts::
4a:/usr/sbin/in.gated::Y:/etc/inet/gated.conf::
4b:/usr/sbin/in.routed:/usr/sbin/in.gated:Y::-q:
4c:/usr/sbin/route::n::add default router_placeholder 1:
6:/usr/sbin/in.xntpd::y:/etc/inet/ntp.conf::
7:/usr/bin/sh::y:/etc/inet/rc.inet:/etc/inet/rc.inet start:
In this example, the line beginning with 4a says that, if the
configuration file /etc/inet/gated.conf exists, then run the
daemon /usr/sbin/in.gated with no options. The line beginning
with 4b says that, if the daemon /usr/sbin/in.gated was not
run, then run the daemon /usr/sbin/in.routed with the -q
option.
Copyright 1994 Novell, Inc. Page 3