[OpenWrt-Devel] [PATCH 1/4] lldpd: remove obsolete/unsupported lldpctl call

Alexandru Ardelean ardeleanalex at gmail.com
Mon Aug 17 11:22:39 EDT 2015


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/<some-file>.conf

Signed-off-by: Alexandru Ardelean <aa at ocedo.com>
---
 package/network/services/lldpd/files/lldpd.init | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index 40f2611..4b49cbd 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() {
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list