Browse Source

set hostname/domainname before running rc.conf; m4@umn.edu

OPENBSD_2_2
deraadt 27 years ago
parent
commit
17b5b2971b
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/etc/netstart

+ 4
- 4
src/etc/netstart View File

@ -1,9 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.29 1997/09/04 01:12:23 deraadt Exp $
# pick up option configuration
. /etc/rc.conf
# $OpenBSD: netstart,v 1.30 1997/10/14 20:34:55 deraadt Exp $
# /etc/myname contains my symbolic name # /etc/myname contains my symbolic name
# #
@ -13,6 +10,9 @@ if [ -f /etc/defaultdomain ]; then
domainname `cat /etc/defaultdomain` domainname `cat /etc/defaultdomain`
fi fi
# pick up option configuration
. /etc/rc.conf
# Configure the IP filter before configuring network interfaces # Configure the IP filter before configuring network interfaces
# #
if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then


Loading…
Cancel
Save