mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
rsyslog: apply shellcheck SC3014 to init
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
This commit is contained in:
committed by
Rosen Penev
parent
008860276e
commit
799194cbc9
@@ -5,7 +5,6 @@
|
|||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
# shellcheck disable=SC3037
|
# shellcheck disable=SC3037
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
# shellcheck disable=SC3014
|
|
||||||
# shellcheck disable=SC2129
|
# shellcheck disable=SC2129
|
||||||
|
|
||||||
START=20
|
START=20
|
||||||
@@ -47,7 +46,7 @@ handle_forwarder() {
|
|||||||
config_get port "${config}" port "514"
|
config_get port "${config}" port "514"
|
||||||
config_get rfc "${config}" rfc "3164"
|
config_get rfc "${config}" rfc "3164"
|
||||||
|
|
||||||
if [ "$rfc" == "5424" ]; then
|
if [ "$rfc" = "5424" ]; then
|
||||||
opts='Template="RSYSLOG_SyslogProtocol23Format" TCP_Framing="octet-counted"'
|
opts='Template="RSYSLOG_SyslogProtocol23Format" TCP_Framing="octet-counted"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user