diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-04-11 01:22:24 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-04-11 01:22:24 +0000 |
commit | 89c931f847614f418a1b635fba1ac76fc84c2262 (patch) | |
tree | 1cd6f01b294fa1df269b646e121a48f7ce1f88c0 /etc/rc | |
parent | f1537076e2271c9abaf52c7f34869dafc5fa39f3 (diff) | |
download | FreeBSD-src-89c931f847614f418a1b635fba1ac76fc84c2262.zip FreeBSD-src-89c931f847614f418a1b635fba1ac76fc84c2262.tar.gz |
Remove obsolete comments about my-name and my-network.
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.
Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.
Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)
Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.60 1995/03/30 06:26:09 rgrimes Exp $ +# $Id: rc,v 1.61 1995/04/09 09:54:42 rgrimes Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -83,7 +83,7 @@ fi # start up the network if [ -f /etc/netstart ]; then - . /etc/netstart + sh /etc/netstart fi mount -a -t nfs >/dev/null 2>&1 & # XXX shouldn't need background |