diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-03-23 07:58:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-03-23 07:58:52 +0000 |
commit | 49923c401d7073cff88942f7ef99b6b2608f9354 (patch) | |
tree | cfe8245b355dde3942ba1b41f5f080948c45d153 /distrib/miniroot | |
parent | ec6051c247e24d52914e4f44a2bffa84baf87b7a (diff) |
put fqdn first; matter@research.suspicious.org
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 53c221582db..9dcb96c261a 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sub,v 1.114 1999/03/23 02:30:31 millert Exp $ +# $OpenBSD: install.sub,v 1.115 1999/03/23 07:58:08 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 @@ -434,10 +434,10 @@ addhostent() { echo "127.0.0.1 localhost" > /tmp/hosts fi - sed "/ $2 $2.$FQDN\$/d" < /tmp/hosts > /tmp/hosts.new + sed "/ $2.$FQDN $2\$/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() { |