Browse Source

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.
OPENBSD_3_0
angelos 23 years ago
parent
commit
ef20412889
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/etc/netstart

+ 4
- 1
src/etc/netstart View File

@ -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`


Loading…
Cancel
Save