diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-07-06 05:53:18 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-07-06 05:53:18 +0000 |
commit | e4837ca73a9c65d0780ea23a42b90cb58efcf59d (patch) | |
tree | 5fef85c4891c9ba0b27e00b1f02fac1d3d28129d /etc/netstart | |
parent | 181e856e9a57feb0dadc9a15f5c6464cff168e35 (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/netstart | 5 |
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` |