summaryrefslogtreecommitdiff
path: root/package/utils/busybox
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2016-05-29 10:26:37 +0300
committerJohn Crispin <john@phrozen.org>2016-05-30 22:53:35 +0200
commit442ff3b34da80ba62d539c1998351600d5e8ae0b (patch)
tree9e2d7daf7827651d0c6512f44b614fb0fe4e6fff /package/utils/busybox
parent2a589539ba4b94229218ce5dac3bc2c40fef86d4 (diff)
downloadmtk-20170518-442ff3b34da80ba62d539c1998351600d5e8ae0b.zip
mtk-20170518-442ff3b34da80ba62d539c1998351600d5e8ae0b.tar.gz
mtk-20170518-442ff3b34da80ba62d539c1998351600d5e8ae0b.tar.bz2
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/utils/busybox')
-rwxr-xr-xpackage/utils/busybox/files/sysntpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index 6d44280..cc1b4d8 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