procd: default to udp log protocol to keep backwards compat with busybox

SVN-Revision: 37496
This commit is contained in:
Jo-Philipp Wich 2013-07-22 11:31:29 +00:00
parent a50c18c632
commit ec6954e64e

View File

@ -41,7 +41,7 @@ start_service_remote()
procd_open_instance
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
PIDCOUNT="$(( ${PIDCOUNT} + 1))"