From fb9953cc4479c02867e5b1a28ec3e59dd6926361 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Fri, 9 Jul 2004 11:34:12 +0000 Subject: remove leftover pieces of on-the-fly reconfig shitz that made ntpd exit on SIGHUP, noticed by otto --- usr.sbin/ntpd/ntpd.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'usr.sbin/ntpd') 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 @@ -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; @@ -215,12 +208,6 @@ check_child(pid_t pid, const char *pname) return (0); } -int -reconfigure(char *conffile) -{ - return (-1); -} - int dispatch_imsg(void) { -- cgit v1.2.3