lldpd: fix -k 'lldp_no_version' row
Supplementary fix for PR #14193 and commitb67182008fTested on 22.03.5 Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit97eb3bf76c) Link: https://github.com/openwrt/openwrt/pull/15299 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
4ebd60b083
commit
1d14e0abfc
@@ -290,7 +290,7 @@ start_service() {
|
||||
fi
|
||||
|
||||
[ $readonly_mode -gt 0 ] && procd_append_param command '-r'
|
||||
[ $lldp_no_version -gt 0 ] && procd_append_param commanpackage/network/services/lldpd/Makefile package/network/services/lldpd/files/lldpd.initd '-k'
|
||||
[ $lldp_no_version -gt 0 ] && procd_append_param command '-k'
|
||||
[ "$CONFIG_LLDPD_WITH_LLDPMED" == "y" ] && [ $lldpmed_no_inventory -gt 0 ] && procd_append_param command '-i'
|
||||
[ -n "$lldp_class" ] && procd_append_param command -M "$lldp_class"
|
||||
[ "$CONFIG_LLDPD_WITH_SNMP" == "y" ] && [ -n "$agentxsocket" ] && procd_append_param command -x -X "$agentxsocket"
|
||||
|
||||
Reference in New Issue
Block a user