summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-05 21:23:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-05 21:23:59 +0000
commit548d4aa059eab9d12f0f328a316d5d1540151abc (patch)
tree86bcd9e3b70672bd002244f2331df882ccd7d484 /distrib/miniroot/install.sub
parent6ba0d68802806d494b9c95d102bd8bd9ceb34b34 (diff)
shorter default answer for the nameserver question
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 3b6584c7165..9249582e884 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.528 2009/05/05 21:22:14 deraadt Exp $
+# $OpenBSD: install.sub,v 1.529 2009/05/05 21:23:58 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1624,7 +1624,7 @@ donetconfig() {
# else Get/Confirm nameservers
resp="${_ns:=none}"
if [[ ! -f /tmp/dhclient.conf || $nifs != 1 || $resp == none ]]; then
- ask "DNS nameservers? (IP address list or 'none')" "${_ns:=none}"
+ ask "DNS nameservers? (IP address list or 'none')" "$resp"
fi
# Construct appropriate resolv.conf.
if [[ $resp != none ]]; then