summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-07-18 10:18:06 +0000
committerjkh <jkh@FreeBSD.org>1999-07-18 10:18:06 +0000
commitd51b32f103a73f7cbbbb134928dcbae4cba0509d (patch)
tree5fa63d79c862dcb5bf6217590120450cba7b516d /usr.sbin/sysinstall/install.c
parent47d2323c99837c81fd710aee064533a6e0e88baf (diff)
downloadFreeBSD-src-d51b32f103a73f7cbbbb134928dcbae4cba0509d.zip
FreeBSD-src-d51b32f103a73f7cbbbb134928dcbae4cba0509d.tar.gz
Some additional optimizations for using DHCP.
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 17ff049..aba70fd 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.240 1999/07/06 09:19:35 jkh Exp $
+ * $Id: install.c,v 1.241 1999/07/16 11:13:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -533,7 +533,7 @@ nodisks:
dialog_clear_norefresh();
tmp = tcpDeviceSelect();
dialog_clear_norefresh();
- if (tmp && !msgYesNo("Would you like to bring the %s interface up right now?", tmp->name))
+ if (tmp && !((DevInfo *)tmp->private)->use_dhcp && !msgYesNo("Would you like to bring the %s interface up right now?", tmp->name))
if (!tmp->init(tmp))
msgConfirm("Initialization of %s device failed.", tmp->name);
}
OpenPOWER on IntegriCloud