diff options
author | Maxim Storchak <m.storchak@gmail.com> | 2016-05-29 10:26:37 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-05-30 22:53:35 +0200 |
commit | 442ff3b34da80ba62d539c1998351600d5e8ae0b (patch) | |
tree | 9e2d7daf7827651d0c6512f44b614fb0fe4e6fff /package | |
parent | 2a589539ba4b94229218ce5dac3bc2c40fef86d4 (diff) | |
download | upstream-442ff3b34da80ba62d539c1998351600d5e8ae0b.tar.gz upstream-442ff3b34da80ba62d539c1998351600d5e8ae0b.tar.bz2 upstream-442ff3b34da80ba62d539c1998351600d5e8ae0b.zip |
busybox: run sysntpd at higher priority
When a router is under load ntpd would have better chance to accurately
maintain system time.
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Diffstat (limited to 'package')
-rwxr-xr-x | package/utils/busybox/files/sysntpd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd index 6d44280393..cc1b4d8cc6 100755 --- a/package/utils/busybox/files/sysntpd +++ b/package/utils/busybox/files/sysntpd @@ -48,7 +48,7 @@ start_service() { [ -z "$server" ] && return procd_open_instance - procd_set_param command "$PROG" -n + procd_set_param command "$PROG" -n -N [ "$enable_server" = "1" ] && procd_append_param command -l [ -x "$HOTPLUG_SCRIPT" ] && procd_append_param command -S "$HOTPLUG_SCRIPT" for peer in $server; do |