summaryrefslogtreecommitdiff
path: root/etc/netstart
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-10-07 16:36:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-10-07 16:36:27 +0000
commit6a23c1b6a9f7b5f85e35f156f1c09f787321b8c2 (patch)
tree08ebfef177e02c8d05ff20f9346c126748684586 /etc/netstart
parent1706a0112c859f2f3198968c769b04015f0e6baa (diff)
The new ypbind changes requires that the domainname be set before
rc.conf is run. There's no real downside. ok aja
Diffstat (limited to 'etc/netstart')
-rw-r--r--etc/netstart6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/netstart b/etc/netstart
index fa9ab632e2f..609ad69e036 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.133 2011/07/07 23:09:46 guenther Exp $
+# $OpenBSD: netstart,v 1.134 2011/10/07 16:36:26 deraadt Exp $
# Strip comments (and leading/trailing whitespace if IFS is set)
# from a file and spew to stdout
@@ -195,10 +195,6 @@ else
hostname=`hostname`
fi
-if [ -f /etc/defaultdomain ]; then
- domainname `stripcom /etc/defaultdomain`
-fi
-
# Set the address for the loopback interface. Bringing the interface up,
# automatically invokes the IPv6 address ::1.
ifconfig lo0 inet 127.0.0.1/8