summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-04-11 01:22:24 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-04-11 01:22:24 +0000
commit89c931f847614f418a1b635fba1ac76fc84c2262 (patch)
tree1cd6f01b294fa1df269b646e121a48f7ce1f88c0 /etc/rc
parentf1537076e2271c9abaf52c7f34869dafc5fa39f3 (diff)
downloadFreeBSD-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/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 5bf24d1..7cd5bd5 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud