mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
0fee8272de
commit
bd2cbce22c
@ -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))"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user