mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 05:45:06 -05:00
main: setup access restrictions before initstepslew
This commit is contained in:
3
main.c
3
main.c
@@ -144,7 +144,6 @@ post_init_ntp_hook(void *anything)
|
||||
semblence of validity about it. */
|
||||
SRC_ReloadSources();
|
||||
}
|
||||
CNF_SetupAccessRestrictions();
|
||||
|
||||
RTC_StartMeasurements();
|
||||
RCL_StartRefclocks();
|
||||
@@ -484,6 +483,8 @@ int main
|
||||
/* From now on, it is safe to do finalisation on exit */
|
||||
initialised = 1;
|
||||
|
||||
CNF_SetupAccessRestrictions();
|
||||
|
||||
if (ref_mode == REF_ModeNormal && CNF_GetInitSources() > 0) {
|
||||
ref_mode = REF_ModeInitStepSlew;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user