diff options
| author | Murray Stokely <murray@FreeBSD.org> | 2000-08-28 18:18:47 +0000 |
|---|---|---|
| committer | Murray Stokely <murray@FreeBSD.org> | 2000-08-28 18:18:47 +0000 |
| commit | 9cd58f85335b3b67f524a2b55f89c8868fdde6e7 (patch) | |
| tree | 34e96e6132af4ecf8e81e45ed1f8a75465c010c6 /release | |
| parent | ad8c1e6a094435bd3e1fe1167df68c58d86c749b (diff) | |
Notes
Diffstat (limited to 'release')
| -rw-r--r-- | release/sysinstall/tcpip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c index dc06e6835de3..62cb251c36c7 100644 --- a/release/sysinstall/tcpip.c +++ b/release/sysinstall/tcpip.c @@ -267,7 +267,8 @@ tcpOpenDialog(Device *devp) char *cp; /* Try a RTSOL scan if such behavior is desired */ - if (!variable_cmp(VAR_TRY_RTSOL, "YES") || !msgYesNo("Do you want to try IPv6 configuration of the interface?")) { + if (!variable_cmp(VAR_TRY_RTSOL, "YES") || + ((variable_cmp(VAR_TRY_RTSOL, "NO")) && (!msgYesNo("Do you want to try IPv6 configuration of the interface?")))) { int i; i = 0; @@ -286,7 +287,8 @@ tcpOpenDialog(Device *devp) } /* First try a DHCP scan if such behavior is desired */ - if (!variable_cmp(VAR_TRY_DHCP, "YES") || !msgYesNo("Do you want to try DHCP configuration of the interface?")) { + if (!variable_cmp(VAR_TRY_DHCP, "YES") || + ((variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgYesNo("Do you want to try DHCP configuration of the interface?")))) { Mkdir("/var/db"); Mkdir("/var/run"); Mkdir("/tmp"); |
