diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-22 11:31:29 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-22 11:31:29 +0000 |
commit | cdfa8165c6d27e078dd49f624c330b58b2e40e7f (patch) | |
tree | 8d41ee5e0a8978506a618a1b8e19ce0a5d82c63c | |
parent | a222dffebbb0ae61b8ad0577c79837dda6431753 (diff) |
procd: default to udp log protocol to keep backwards compat with busybox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37496 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/system/procd/files/log.init | 2 |
1 files changed, 1 insertions, 1 deletions
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))" |