Add option to ignore initstepslew and makestep directives

When chronyd is started with -R, the initstepslew directive and the
makestep directive with a positive limit will be ignored. This is useful
when restarting chronyd to avoid unnecessary clock adjustments. It can
be used with -r.
This commit is contained in:
Miroslav Lichvar
2013-04-26 16:27:15 +02:00
parent 4933c216b2
commit f2eb6b165a
5 changed files with 37 additions and 1 deletions

2
conf.h
View File

@@ -29,6 +29,8 @@
#include "addressing.h"
extern void CNF_SetRestarted(int);
extern char *CNF_GetRtcDevice(void);
extern void CNF_ReadFile(const char *filename);