diff options
author | Dan Theisen <djt@hxx.in> | 2018-06-26 04:28:07 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-06-26 18:44:39 -0700 |
commit | b00cda0fc4fbeb6c64801e8180c2a2feeb288766 (patch) | |
tree | 8f376def6b56eebebfbefb2208118925b4001622 /user/chrony/max_resolve_interval.patch | |
parent | 586c518d3cdca10f7c83ca73efd2a41a1f295d4a (diff) | |
download | packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.tar.gz packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.tar.bz2 packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.tar.xz packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.zip |
user/chrony: new package, import from alpine, clean up
Diffstat (limited to 'user/chrony/max_resolve_interval.patch')
-rw-r--r-- | user/chrony/max_resolve_interval.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/user/chrony/max_resolve_interval.patch b/user/chrony/max_resolve_interval.patch new file mode 100644 index 000000000..6343d9122 --- /dev/null +++ b/user/chrony/max_resolve_interval.patch @@ -0,0 +1,13 @@ +Try fix behaviour when network is not available at bootup + +--- ./ntp_sources.c.orig ++++ ./ntp_sources.c +@@ -87,7 +85,7 @@ + + #define RESOLVE_INTERVAL_UNIT 7 + #define MIN_RESOLVE_INTERVAL 2 +-#define MAX_RESOLVE_INTERVAL 9 ++#define MAX_RESOLVE_INTERVAL 6 + #define MIN_REPLACEMENT_INTERVAL 8 + + static struct UnresolvedSource *unresolved_sources = NULL; |