lldpd: fix -k 'lldp_no_version' row
authorPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 14:57:28 +0000 (15:57 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 11 Mar 2024 08:58:20 +0000 (09:58 +0100)
Supplementary fix for PR #14193 and commit
b67182008fd124706be0ec3ce67347447554ffd5

Tested on 22.03.5

Signed-off-by: Paul Donald <newtwen@gmail.com>
package/network/services/lldpd/files/lldpd.init

index f90b4a237cd0b6bf3afa9c0c268d3842907ba045..d4642238a3e278fb9fe11bc934b8b4ee20674887 100644 (file)
@@ -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"