Revisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCP
and RTSOL in sysinstall. If the respective TRY_FOO variable is set to "YES" then it will be tried without prompting the user. However, if the TRY_FOO variable is set to "NO" then the user will not be prompted for a choice. This is the correct behavior, since we want people to be able to script sysinstall in either case. However, the default TRY_FOO variable has been "NO" since 1999. This is incorrect, and when the logic was corrected in tcpip.c this has the effect of never giving the user a choice to use DHCP or IPv6. The value should be undefined until it is set by a script or by the user. Submitted by: Randy Pratt, Chern Lee, many others.
This commit is contained in:
parent
72d4bf59e9
commit
b25687720b
@ -1057,8 +1057,6 @@ installVarDefaults(dialogMenuItem *self)
|
||||
variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE, 0);
|
||||
variable_set2(VAR_INSTALL_ROOT, "/", 0);
|
||||
variable_set2(VAR_INSTALL_CFG, "install.cfg", 0);
|
||||
variable_set2(VAR_TRY_DHCP, "NO", 0); /* For now */
|
||||
variable_set2(VAR_TRY_RTSOL, "NO", 0); /* For now */
|
||||
cp = getenv("EDITOR");
|
||||
if (!cp)
|
||||
cp = "/usr/bin/ee";
|
||||
|
@ -1057,8 +1057,6 @@ installVarDefaults(dialogMenuItem *self)
|
||||
variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE, 0);
|
||||
variable_set2(VAR_INSTALL_ROOT, "/", 0);
|
||||
variable_set2(VAR_INSTALL_CFG, "install.cfg", 0);
|
||||
variable_set2(VAR_TRY_DHCP, "NO", 0); /* For now */
|
||||
variable_set2(VAR_TRY_RTSOL, "NO", 0); /* For now */
|
||||
cp = getenv("EDITOR");
|
||||
if (!cp)
|
||||
cp = "/usr/bin/ee";
|
||||
|
Loading…
Reference in New Issue
Block a user