aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2018-05-28 15:22:58 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-05-28 20:20:59 +0200
commit424db89a26c922e6a8e667b970a9863721371d68 (patch)
tree1a398f984635feeecf20989660b2480c2e233e21
parent9977053659cdc098b35ef0e9762707a53838209e (diff)
downloadbuildroot-424db89a26c922e6a8e667b970a9863721371d68.tar.gz
buildroot-424db89a26c922e6a8e667b970a9863721371d68.tar.bz2
chrony: S49chrony: drop /etc/chrony.conf check
With CHRONY_ARGS in /etc/default/chrony, chrony may asked to use an alternative configuration file (with the -f option), so drop the explicit /etc/chrony.conf check. In case the configuration file isn't present chrony will anyway loudly complain which is preferable to this silent failure: chronyd -f /non/existing/file.conf Could not open configuration file /non/existing/file.conf : No such file or directory Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-xpackage/chrony/S49chrony2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/chrony/S49chrony b/package/chrony/S49chrony
index 5abb3b2582..f75233fe5e 100755
--- a/package/chrony/S49chrony
+++ b/package/chrony/S49chrony
@@ -4,8 +4,6 @@
[ -r /etc/default/chrony ] && . /etc/default/chrony
-[ -f /etc/chrony.conf ] || exit 0
-
case "$1" in
start)
printf "Starting chrony: "