diff options
author | 1998-10-13 21:23:30 +0000 | |
---|---|---|
committer | 1998-10-13 21:23:30 +0000 | |
commit | d462c3a4af3a154315d7e35800aa2c57f5909179 (patch) | |
tree | a8c793eb4da714046ad919e60ce011958b5eaa11 | |
parent | In vrele, vget, reinstate to following order (diff) | |
download | wireguard-openbsd-d462c3a4af3a154315d7e35800aa2c57f5909179.tar.xz wireguard-openbsd-d462c3a4af3a154315d7e35800aa2c57f5909179.zip |
whack resolv.conf properly; bug seen by jason
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
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 |