diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-07-22 11:31:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-07-22 11:31:29 +0000 |
commit | ec6954e64e7cd7e503b62ab73381cfa0adce24fc (patch) | |
tree | 6b62279ee732b10aa5d63dbb7f47dd2278d94b55 /package | |
parent | a50c18c632f0c4a9cfe4dc3d5b193dac1d94073a (diff) | |
download | upstream-ec6954e64e7cd7e503b62ab73381cfa0adce24fc.tar.gz upstream-ec6954e64e7cd7e503b62ab73381cfa0adce24fc.tar.bz2 upstream-ec6954e64e7cd7e503b62ab73381cfa0adce24fc.zip |
procd: default to udp log protocol to keep backwards compat with busybox
SVN-Revision: 37496
Diffstat (limited to 'package')
-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))" |