From 9977053659cdc098b35ef0e9762707a53838209e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 28 May 2018 15:22:57 +0200 Subject: [PATCH] chrony: S49chrony: support a defaults file For specifying custom options to chrony. Signed-off-by: Peter Korsgaard --- package/chrony/S49chrony | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/chrony/S49chrony b/package/chrony/S49chrony index 6215acc4aa..5abb3b2582 100755 --- a/package/chrony/S49chrony +++ b/package/chrony/S49chrony @@ -2,12 +2,14 @@ # # Start chrony +[ -r /etc/default/chrony ] && . /etc/default/chrony + [ -f /etc/chrony.conf ] || exit 0 case "$1" in start) printf "Starting chrony: " - chronyd && echo "OK" || echo "FAIL" + chronyd $CHRONY_ARGS && echo "OK" || echo "FAIL" ;; stop) printf "Stopping chrony: " -- 2.30.2