From ef20412889b51d6d84e8c798e3b87e89677cccd6 Mon Sep 17 00:00:00 2001 From: angelos <> Date: Fri, 6 Jul 2001 05:53:17 +0000 Subject: [PATCH] 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. --- src/etc/netstart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/etc/netstart b/src/etc/netstart index 13677715..7bcc3e9c 100644 --- a/src/etc/netstart +++ b/src/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`