projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d882e
)
chrony: S49chrony: support a defaults file
author
Peter Korsgaard
<peter@korsgaard.com>
Mon, 28 May 2018 13:22:57 +0000
(15:22 +0200)
committer
Peter Korsgaard
<peter@korsgaard.com>
Mon, 28 May 2018 18:20:46 +0000
(20:20 +0200)
For specifying custom options to chrony.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/chrony/S49chrony
patch
|
blob
|
history
diff --git
a/package/chrony/S49chrony
b/package/chrony/S49chrony
index 6215acc4aa217ddbc0099ad30d8e97eae5536ce4..5abb3b25823ff8ffd10b7649557ff17bcb4f827b 100755
(executable)
--- 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: "