From 60d791fee684aaa847b4987542b753b772b989ba Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 1 May 2024 08:02:57 +0200 Subject: Add startupcheck --- doc/example.ini | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/example.ini b/doc/example.ini index 6e71d4a..eda50a5 100644 --- a/doc/example.ini +++ b/doc/example.ini @@ -1,5 +1,12 @@ ; Sample configuration file for ODR-DabMod +[general] +; Before starting up, run this command, and abort if it doesn't return 0. +; This is useful to ensure that NTP has properly synchronised time. +startupcheck= +;startupcheck=chronyc waitsync 10 0.01 +;startupcheck=ntp-wait -fv + [remotecontrol] ; The RC feature is described in detail in doc/README-RC.md -- cgit v1.2.3