| Summary: | sysinstall's install.cfg tryRTSOL and tryDHCP don't work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | gordont <gordont> | ||||
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.2-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
gordont
2001-01-07 23:40:02 UTC
I just ran across the same bug. I think that I found the more basic
problem. In tcpip.c, the code that tests the value of tryDHCP (and
tryRTSOL) has the test backwards when checking for the "NO" value. In
the code:
if (!variable_cmp(VAR_TRY_DHCP, "YES") ||
((!variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgNoYes("Do you
want to try DHCP configuration of the interface?")))) {
should be
if (!variable_cmp(VAR_TRY_DHCP, "YES") ||
((variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgNoYes("Do you
want to try DHCP configuration of the interface?")))) {
I think that this addresses the underlying problem. (This also explains
why setting tryDHCP to anything besides "YES" or "NO" has the effect
expected for tryDHCP=NO.
- Glenn Trewitt
State Changed From-To: open->closed Related bug fixed. |