Author: blogic
Date: 2015-09-16 10:32:18 +0200 (Wed, 16 Sep 2015)
New Revision: 46966

Modified:
   trunk/package/network/services/lldpd/files/lldpd.init
Log:
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/<some-file>.conf

Signed-off-by: Alexandru Ardelean <[email protected]>

Modified: trunk/package/network/services/lldpd/files/lldpd.init
===================================================================
--- trunk/package/network/services/lldpd/files/lldpd.init       2015-09-16 
08:32:13 UTC (rev 46965)
+++ trunk/package/network/services/lldpd/files/lldpd.init       2015-09-16 
08:32:18 UTC (rev 46966)
@@ -60,11 +60,6 @@
        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() {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to