summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-19 07:03:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-19 07:03:25 +0000
commitf9908d66dc99e7283315f7480f376cb6623892d1 (patch)
tree1ad9decbe9f57032f3ffa3df6630aa9cef2baffc /distrib/miniroot/install.sub
parent028b47ce234b56294a88fcd879dda3401ede442e (diff)
fix a mistake; jbi130@mail.usask.ca
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 74a6afe725c..92e8aec4c2b 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.88 1998/09/18 18:40:51 deraadt Exp $
+# $OpenBSD: install.sub,v 1.89 1998/09/19 07:03:24 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -458,8 +458,8 @@ addifconfig() {
# $5 - (optional) interface link-layer directives
# Create a hostname.* file for the interface.
- if [ "$3" = "dhcp NONE NONE NONE $5" ]; then
- echo "dhcp" > /tmp/hostname.$1
+ if [ "$3" = "dhcp" ]; then
+ echo "dhcp NONE NONE NONE $5" > /tmp/hostname.$1
addhostent 127.0.0.1 $2
else
echo "inet $3 $4 NONE $5" > /tmp/hostname.$1