summaryrefslogtreecommitdiff
path: root/etc/netstart
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-07-06 05:53:18 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-07-06 05:53:18 +0000
commite4837ca73a9c65d0780ea23a42b90cb58efcf59d (patch)
tree5fef85c4891c9ba0b27e00b1f02fac1d3d28129d /etc/netstart
parent181e856e9a57feb0dadc9a15f5c6464cff168e35 (diff)
Also, source /etc/rc.conf so we can pull in the
multicast_host/multicast_router settings; this is useful if one flushes the routing table and re-initializes. We really need a netconfig tool of sorts.
Diffstat (limited to 'etc/netstart')
-rw-r--r--etc/netstart5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart
index 13677715722..7bcc3e9cef0 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.80 2001/07/06 05:44:40 angelos Exp $
+# $OpenBSD: netstart,v 1.81 2001/07/06 05:53:17 angelos Exp $
# Returns true if $1 contains only alphanumerics
isalphanumeric() {
@@ -16,6 +16,9 @@ isalphanumeric() {
return 0
}
+# Re-read /etc/rc.conf
+. /etc/rc.conf
+
# /etc/myname contains my symbolic name
#
hostname=`cat /etc/myname`