mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-08 12:00:49 +00:00
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
This commit is contained in:
parent
ef2f50829d
commit
5007f488bb
@ -60,11 +60,6 @@ start() {
|
|||||||
service_start /usr/sbin/lldpd $args \
|
service_start /usr/sbin/lldpd $args \
|
||||||
${lldp_class:+ -M $lldp_class} \
|
${lldp_class:+ -M $lldp_class} \
|
||||||
${lldp_description:+ -S "$lldp_description"}
|
${lldp_description:+ -S "$lldp_description"}
|
||||||
|
|
||||||
[ -n "$lldp_location" ] && {
|
|
||||||
sleep 1
|
|
||||||
/usr/sbin/lldpctl -L "$lldp_location" > /dev/null 2>&1
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user