summaryrefslogtreecommitdiff
path: root/distrib/simpleroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-03-23 07:58:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-03-23 07:58:52 +0000
commit49923c401d7073cff88942f7ef99b6b2608f9354 (patch)
treecfe8245b355dde3942ba1b41f5f080948c45d153 /distrib/simpleroot/install.sub
parentec6051c247e24d52914e4f44a2bffa84baf87b7a (diff)
put fqdn first; matter@research.suspicious.org
Diffstat (limited to 'distrib/simpleroot/install.sub')
-rw-r--r--distrib/simpleroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/simpleroot/install.sub b/distrib/simpleroot/install.sub
index a0a6d7db708..9bdf5de3913 100644
--- a/distrib/simpleroot/install.sub
+++ b/distrib/simpleroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sub,v 1.7 1998/12/19 18:32:57 deraadt Exp $
+# $OpenBSD: install.sub,v 1.8 1999/03/23 07:58:51 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -316,7 +316,7 @@ addhostent() {
sed "/^$1 /d" < /tmp/hosts > /tmp/hosts.new
mv /tmp/hosts.new /tmp/hosts
- echo "$1 $2 $2.$FQDN" >> /tmp/hosts
+ echo "$1 $2.$FQDN $2" >> /tmp/hosts
}
addifconfig() {