From: blogic Date: Wed, 16 Sep 2015 08:32:18 +0000 (+0000) Subject: lldpd: remove obsolete/unsupported lldpctl call X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d63ef754493066713dc73f7a892017e86e3b63ad;p=openwrt.git lldpd: remove obsolete/unsupported lldpctl call This call is no longer supported. Maybe a come-back for it would be to use a config /etc/lldpd.conf or /etc/lldpd.d/.conf Signed-off-by: Alexandru Ardelean git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46966 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 40f2611625..4b49cbd520 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services/lldpd/files/lldpd.init @@ -60,11 +60,6 @@ start() { service_start /usr/sbin/lldpd $args \ ${lldp_class:+ -M $lldp_class} \ ${lldp_description:+ -S "$lldp_description"} - - [ -n "$lldp_location" ] && { - sleep 1 - /usr/sbin/lldpctl -L "$lldp_location" > /dev/null 2>&1 - } } stop() {