Bug 26187

Summary: setting nonInteractive in install.cfg is ignored in RTSOL/IPv6 and DHCP sections of sysinstall
Product: Base System Reporter: unfurl <unfurl>
Component: miscAssignee: Eric Melville <eric>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description unfurl freebsd_committer freebsd_triage 2001-03-29 02:10:01 UTC
If you set nonInteractive=YES and tryRTSOL=NO or tryDHCP=NO in install.cfg
sysinstall pops up a *interactive* dialog asking if you'd like to try either
one of the protocols.

Fix: 

Re-work logic in /usr/src/release/sysinstall/tcpip.c around line 350.
How-To-Repeat: Do the above...
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-03-29 16:50:00 UTC
Responsible Changed
From-To: freebsd-bugs->jkh

JKH is the sysinstall maintainer.
Comment 2 glenn 2001-06-02 01:56:56 UTC
This is the same problem as reported in bin/24136.  See my followup to
that one.  The exact fix is to change (in tcpip.c):

        if (!variable_cmp(VAR_TRY_DHCP, "YES") ||
            ((!variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgNoYes("Do you
want to try DHCP configuration of the interface?")))) {

to
        if (!variable_cmp(VAR_TRY_DHCP, "YES") ||
            ((variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgNoYes("Do you
want to try DHCP configuration of the interface?")))) {

Repeat this for VAR_TRY_RTSOL.

    - Glenn Trewitt
Comment 3 jkh freebsd_committer freebsd_triage 2001-08-31 01:28:41 UTC
Responsible Changed
From-To: jkh->eric

Eric handles these now
Comment 4 jkh freebsd_committer freebsd_triage 2001-08-31 01:28:41 UTC
Responsible Changed
From-To: jkh->eric

Eric needs more work since he decided to major in flower arranging
Comment 5 jkh freebsd_committer freebsd_triage 2001-08-31 20:50:27 UTC
State Changed
From-To: open->closed

Fix committed (I feel sorry for Eric now), thanks!