From 3c30be4b409d77562e7cc8c79edb4bf99916cdcb Mon Sep 17 00:00:00 2001 From: jkh Date: Wed, 18 Jun 1997 05:11:37 +0000 Subject: 1. Add a noWarn flag so that scripts can turn warnings off. 2. If hostname not set from script, bring up interactive dialog anyway. --- usr.sbin/sysinstall/tcpip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/sysinstall/tcpip.c') diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index cde65bd..d0d2015 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/sysinstall/tcpip.c @@ -1,5 +1,5 @@ /* - * $Id: tcpip.c,v 1.67 1997/06/12 07:35:40 jkh Exp $ + * $Id: tcpip.c,v 1.68 1997/06/12 09:01:38 jkh Exp $ * * Copyright (c) 1995 * Gary J Palmer. All rights reserved. @@ -215,7 +215,7 @@ tcpOpenDialog(Device *devp) save = savescr(); /* If non-interactive, jump straight over the dialog crap and into config section */ - if (variable_get(VAR_NONINTERACTIVE)) + if (variable_get(VAR_NONINTERACTIVE) && hostname[0]) goto netconfig; /* Now do all the screen I/O */ -- cgit v1.1