mirror of https://github.com/hak5/openwrt-owl.git
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>owl
parent
2a589539ba
commit
442ff3b34d
|
@ -48,7 +48,7 @@ start_service() {
|
||||||
[ -z "$server" ] && return
|
[ -z "$server" ] && return
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command "$PROG" -n
|
procd_set_param command "$PROG" -n -N
|
||||||
[ "$enable_server" = "1" ] && procd_append_param command -l
|
[ "$enable_server" = "1" ] && procd_append_param command -l
|
||||||
[ -x "$HOTPLUG_SCRIPT" ] && procd_append_param command -S "$HOTPLUG_SCRIPT"
|
[ -x "$HOTPLUG_SCRIPT" ] && procd_append_param command -S "$HOTPLUG_SCRIPT"
|
||||||
for peer in $server; do
|
for peer in $server; do
|
||||||
|
|
Loading…
Reference in New Issue