diff options
author | jkh <jkh@FreeBSD.org> | 1997-06-18 05:11:37 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-06-18 05:11:37 +0000 |
commit | 3c30be4b409d77562e7cc8c79edb4bf99916cdcb (patch) | |
tree | 08dd958cb16566653d69d3fb9d634c2f15d63bf0 /usr.sbin/sysinstall/tcpip.c | |
parent | afb7547b1d249b68744bfbd3888d2af97dc45b72 (diff) | |
download | FreeBSD-src-3c30be4b409d77562e7cc8c79edb4bf99916cdcb.zip FreeBSD-src-3c30be4b409d77562e7cc8c79edb4bf99916cdcb.tar.gz |
1. Add a noWarn flag so that scripts can turn warnings off.
2. If hostname not set from script, bring up interactive dialog anyway.
Diffstat (limited to 'usr.sbin/sysinstall/tcpip.c')
-rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |