diff options
author | murray <murray@FreeBSD.org> | 2001-09-04 23:56:30 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-09-04 23:56:30 +0000 |
commit | 5fd76aaf00672dbc2343d1a3d9845e7b08f94d35 (patch) | |
tree | e94010a3e610aa1bb38870f8631f0f422632437b /usr.sbin/sysinstall/install.c | |
parent | af9d8ab82eb19c6d992f9234eea558fa129b50ab (diff) | |
download | FreeBSD-src-5fd76aaf00672dbc2343d1a3d9845e7b08f94d35.zip FreeBSD-src-5fd76aaf00672dbc2343d1a3d9845e7b08f94d35.tar.gz |
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.
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r-- | usr.sbin/sysinstall/install.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 0ab8fa1..bef7eab 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -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"; |