aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-16 08:32:18 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-16 08:32:18 +0000
commitbf2e79c9e2033b2d4b5af50b8718ef25568c6346 (patch)
treeada46caae04220ea784bfdd1f7359cd753d20f1f /package/network/services/lldpd
parent5faa75e5831c54463fbdd9d491ae6c2c39e30b42 (diff)
downloadmaster-187ad058-bf2e79c9e2033b2d4b5af50b8718ef25568c6346.tar.gz
master-187ad058-bf2e79c9e2033b2d4b5af50b8718ef25568c6346.tar.bz2
master-187ad058-bf2e79c9e2033b2d4b5af50b8718ef25568c6346.zip
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 <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46966 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/lldpd')
-rw-r--r--package/network/services/lldpd/files/lldpd.init5
1 files changed, 0 insertions, 5 deletions
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() {