switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
an interface to first time its address is referenced. Therefore:
* configure lo0 before all other interfaces (rather than afterwards).
* don't explicitly add a route from `hostname` to localhost
to $configured_interfaces because it never checked to see if if it
actually configured that interface. For this reason it was setting
$configured_lo0 as well, so that never got configured, causing all
sorts of problems.
if the interface wasn't configured, so that $configured_lo0 and
$configured_interfaces won't get incorrectly set if $net_interfaces ==
DEFAULT. From enami tsugutomo <enami@ba2.so-net.or.jp> in [misc/3635]
We no longer do /etc/hostname.* files, we do /etc/ifconfig.* files
instead, which contain lines each of which is fed to
ifconfig in turn. A new variable, net_interfaces, controls which
interfaces get brought up, by default, ifconfig -l is used to find a list.
the new /etc/rc.conf. this also includes the following changes:
netstart: ifaliases now includes a netmask, to ensure
aliases work.
rc/rc.local: make _everything_ based on configuration
in rc.conf. also move things around such that DNS and
YP are started early enough that other daemons needing
their services also exist. move ldconfig from rc.local
here, and also make it use /etc/ld.so.conf if it exists.
run /etc/rc.lkm if it exists, a boot time.
started if the directory /var/yp exists. Now, ypbind, ypserv, and
rpc.yppasswdd are started like other daemons; there are flags variables
for these programs. To disable them, set the variables to "NO", otherwise,
their contents are passed as flags.
(2) implement suggestion made by Garrett Wollman of "sendmail flags"
to set flags passed to sendmail and/or turn it off
(3) document origins of variables