aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2016-07-07 14:59:53 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-07 14:59:53 +0200
commit1959e15ac02b306ee19701d0a8bfa3d1b1307e8d (patch)
treefd5b49f3464e08ae88294003d59a52b57cb33a99
parent7e5059d41d6943994d9c8ce118c3cc583b6cffb6 (diff)
downloadmaster-187ad058-1959e15ac02b306ee19701d0a8bfa3d1b1307e8d.tar.gz
master-187ad058-1959e15ac02b306ee19701d0a8bfa3d1b1307e8d.tar.bz2
master-187ad058-1959e15ac02b306ee19701d0a8bfa3d1b1307e8d.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>
-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 f73bb83082..410c832630 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/package/utils/busybox/files/sysntpd
@@ -25,7 +25,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