aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-02-16 23:35:05 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-02-16 23:35:05 +0000
commit80beefc08277024dd3907fd4e40e6583b24e8036 (patch)
tree99b107d8a5a7426351640313cb438e04a2b32e9e /usr.sbin/sade/config.c
parentb8dc034799bd119ab952a2dab09798251680c38d (diff)
downloadsrc-80beefc08277024dd3907fd4e40e6583b24e8036.tar.gz
src-80beefc08277024dd3907fd4e40e6583b24e8036.zip
1. Always write out /etc/hosts.
2. Back out my change to ask about UTC/Localtime here. This *really* needs to be done in tzsetup instead since putting it here only handles about 1/4 of the places where it needs to be.
Notes
Notes: svn path=/head/; revision=22813
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r--usr.sbin/sade/config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index cb43a6be0f29..51ab69bb9394 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -524,8 +524,6 @@ skip:
dp = variable_get(VAR_DOMAINNAME);
cp = variable_get(VAR_IPADDR);
hp = variable_get(VAR_HOSTNAME);
- if ((!dp || !cp || !hp) && file_readable("/etc/hosts"))
- return;
/* Tack ourselves into /etc/hosts */
fp = fopen("/etc/hosts", "w");
if (!fp)