sonic-buildimage/dockers/docker-lldp-sv2/start.sh

9 lines
229 B
Bash
Executable File

#!/usr/bin/env bash
sonic-cfggen -d -t /usr/share/sonic/templates/lldpd.conf.j2 > /etc/lldpd.conf
mkdir -p /var/sonic
echo "# Config files managed by sonic-config-engine" > /var/sonic/config_status
rm -f /var/run/lldpd.socket