mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
procd: default to udp log protocol to keep backwards compat with busybox
SVN-Revision: 37496
This commit is contained in:
parent
a50c18c632
commit
ec6954e64e
@ -41,7 +41,7 @@ start_service_remote()
|
|||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command "$PROG" -f -r "$log_ip" "${log_port:-514}" -p "$pid_file"
|
procd_set_param command "$PROG" -f -r "$log_ip" "${log_port:-514}" -p "$pid_file"
|
||||||
[ "${log_proto}" = "udp" ] && procd_append_param command -u
|
[ "${log_proto}" != "udp" ] || procd_append_param command -u
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
|
|
||||||
PIDCOUNT="$(( ${PIDCOUNT} + 1))"
|
PIDCOUNT="$(( ${PIDCOUNT} + 1))"
|
||||||
|
Loading…
Reference in New Issue
Block a user