aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/main.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-02-14 20:59:07 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-02-14 20:59:07 +0000
commitc5566bcff726e9555c7bd4ea3f117866eee87237 (patch)
tree7b32acba55b6ee0e882a4479d2609fa691b7b9eb /release/sysinstall/main.c
parent88e8266d80952d975529dc1a8f451e78100204d6 (diff)
downloadsrc-c5566bcff726e9555c7bd4ea3f117866eee87237.tar.gz
src-c5566bcff726e9555c7bd4ea3f117866eee87237.zip
o Try to be more aggressive about reading in old configuration data
so that we're more useful in multi-user mode. This is still not 100%, but it pulls in a lot more than it used to. Some of the "composite" variables in /etc/sysconfig are going to take more work. o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do so. o Reset media properly when reselecting. Longstanding bogon. o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle this differently shortly. o Fix bug where cancel in TCP setup dialog still checked data fields. I think this closes a PR, but I will have to go look.
Notes
Notes: svn path=/head/; revision=22721
Diffstat (limited to 'release/sysinstall/main.c')
-rw-r--r--release/sysinstall/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/sysinstall/main.c b/release/sysinstall/main.c
index d9b08a899b7d..ece57d4b4edb 100644
--- a/release/sysinstall/main.c
+++ b/release/sysinstall/main.c
@@ -71,6 +71,9 @@ main(int argc, char **argv)
/* Set default flag and variable values */
installVarDefaults(NULL);
+ if (file_readable("/etc/sysconfig"))
+ configEnvironment("/etc/sysconfig");
+
if (argc > 1 && !strcmp(argv[1], "-fake")) {
variable_set2(VAR_DEBUG, "YES");
Fake = TRUE;