summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/main.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-02-14 20:59:07 +0000
committerjkh <jkh@FreeBSD.org>1997-02-14 20:59:07 +0000
commit5dc52e3240da65ca0ddeb05e574d447b212a235e (patch)
tree7b32acba55b6ee0e882a4479d2609fa691b7b9eb /usr.sbin/sade/main.c
parent5a03931ab59c699dc77bb35946d102f53e43c6ad (diff)
downloadFreeBSD-src-5dc52e3240da65ca0ddeb05e574d447b212a235e.zip
FreeBSD-src-5dc52e3240da65ca0ddeb05e574d447b212a235e.tar.gz
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.
Diffstat (limited to 'usr.sbin/sade/main.c')
-rw-r--r--usr.sbin/sade/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c
index d9b08a8..ece57d4 100644
--- a/usr.sbin/sade/main.c
+++ b/usr.sbin/sade/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;
OpenPOWER on IntegriCloud