aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-09-16 08:32:18 +0000
committerJohn Crispin <john@openwrt.org>2015-09-16 08:32:18 +0000
commit5007f488bb5e1b556052ef246bd3822fed8d09d2 (patch)
treef5ca59105874b8951182fbb0502b7719902d96eb /package/network
parentef2f50829d0ab156a1141a5c721da93216ee52a6 (diff)
downloadupstream-5007f488bb5e1b556052ef246bd3822fed8d09d2.tar.gz
upstream-5007f488bb5e1b556052ef246bd3822fed8d09d2.tar.bz2
upstream-5007f488bb5e1b556052ef246bd3822fed8d09d2.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> SVN-Revision: 46966
Diffstat (limited to 'package/network')
-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() {