diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-07-09 11:34:12 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-07-09 11:34:12 +0000 |
commit | fb9953cc4479c02867e5b1a28ec3e59dd6926361 (patch) | |
tree | b007c408031824959288fba9c17f0146b3a558de /usr.sbin/ntpd | |
parent | 24412b1a01855cf9e66985b1486a723187b665f2 (diff) |
remove leftover pieces of on-the-fly reconfig shitz that made ntpd exit on
SIGHUP, noticed by otto
Diffstat (limited to 'usr.sbin/ntpd')
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index 2998b271ad2..e363d689cb0 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.8 2004/07/08 15:06:43 henning Exp $ */ +/* $OpenBSD: ntpd.c,v 1.9 2004/07/09 11:34:11 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -38,7 +38,6 @@ void sighdlr(int); void usage(void); int main(int, char *[]); int check_child(pid_t, const char *); -int reconfigure(char *); int dispatch_imsg(void); void ntpd_adjtime(double); @@ -166,12 +165,6 @@ main(int argc, char *argv[]) quit = 1; } - if (reconfig) { - log_info("rereading config"); - reconfigure(conffile); - reconfig = 0; - } - if (sigchld) { if (check_child(chld_pid, "child")) quit = 1; @@ -216,12 +209,6 @@ check_child(pid_t pid, const char *pname) } int -reconfigure(char *conffile) -{ - return (-1); -} - -int dispatch_imsg(void) { struct imsg imsg; |