projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a43cf9
)
lldpd: remove obsolete/unsupported lldpctl call
author
John Crispin
<john@openwrt.org>
Wed, 16 Sep 2015 08:32:18 +0000
(08:32 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 16 Sep 2015 08:32:18 +0000
(08:32 +0000)
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
package/network/services/lldpd/files/lldpd.init
patch
|
blob
|
history
diff --git
a/package/network/services/lldpd/files/lldpd.init
b/package/network/services/lldpd/files/lldpd.init
index 40f261162555db802aa4e6fa8643a50ebad71ea5..4b49cbd5204fbaf7250be3a02b991a037a6bfacc 100644
(file)
--- 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() {