start lldp-syncd and lldpmgrd after lldpd fully started

Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
Guohan Lu 2019-02-12 10:38:55 +00:00
parent c46852a087
commit 83510f9223

View File

@ -10,8 +10,6 @@ rm -f /var/run/lldpd.socket
supervisorctl start rsyslogd
supervisorctl start lldpd
supervisorctl start lldp-syncd
supervisorctl start lldpmgrd
# Current lldpd version has a bug.
# When lldpd starts it is in the pause state by default
@ -35,3 +33,6 @@ do
lldpcli -u /var/run/lldpd.socket -c /etc/lldpd.conf -c /etc/lldpd.d resume > /dev/null && break
sleep 1
done
supervisorctl start lldp-syncd
supervisorctl start lldpmgrd