summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-10-13 21:23:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-10-13 21:23:31 +0000
commiteb96b5bdfeaf891a861a757eab37a1348f1a030a (patch)
tree02fc3008f92968dee19e0075038c614739e735fb /distrib/miniroot
parent1450bd0a546226439a837ca7f3b205bf40bb2d37 (diff)
whack resolv.conf properly; bug seen by jason
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index cd5c629203a..6d76ece5eaa 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.40 1998/10/11 02:50:47 deraadt Exp $
+# $OpenBSD: install.sh,v 1.41 1998/10/13 21:23:30 deraadt Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -394,7 +394,7 @@ case "$resp" in
echo -n "Enter IP address of primary nameserver: [$resp] "
getresp "$resp"
if [ "X${resp}" != X"none" ]; then
- echo "search $FQDN" >> /tmp/resolv.conf
+ echo "search $FQDN" > /tmp/resolv.conf
for n in `echo ${resp}`; do
echo "nameserver $n" >> /tmp/resolv.conf
done