From: Jo-Philipp Wich Date: Mon, 22 Jul 2013 11:31:29 +0000 (+0000) Subject: procd: default to udp log protocol to keep backwards compat with busybox X-Git-Tag: reboot~9739 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec6954e64e7cd7e503b62ab73381cfa0adce24fc;p=openwrt%2Fstaging%2Fjogo.git procd: default to udp log protocol to keep backwards compat with busybox SVN-Revision: 37496 --- diff --git a/package/system/procd/files/log.init b/package/system/procd/files/log.init index f846a52060..94c66513ce 100644 --- a/package/system/procd/files/log.init +++ b/package/system/procd/files/log.init @@ -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))"