2017-10-24 00:01:42 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
mkdir -p /etc/swss/config.d/
|
|
|
|
|
|
|
|
# sonic-cfggen -m /etc/sonic/minigraph.xml -d -t /usr/share/sonic/templates/ipinip.json.j2 > /etc/swss/config.d/ipinip.json
|
|
|
|
# sonic-cfggen -m /etc/sonic/minigraph.xml -d -t /usr/share/sonic/templates/mirror.json.j2 > /etc/swss/config.d/mirror.json
|
|
|
|
# sonic-cfggen -m /etc/sonic/minigraph.xml -d -t /usr/share/sonic/templates/ports.json.j2 > /etc/swss/config.d/ports.json
|
|
|
|
|
|
|
|
# export platform=`sonic-cfggen -v platform`
|
|
|
|
|
|
|
|
rm -f /var/run/rsyslogd.pid
|
|
|
|
|
|
|
|
supervisorctl start rsyslogd
|
|
|
|
|
|
|
|
mkdir -p /var/run/redis
|
|
|
|
|
|
|
|
supervisorctl start redis-server
|
|
|
|
|
|
|
|
supervisorctl start syncd
|
|
|
|
|
|
|
|
supervisorctl start orchagent
|
|
|
|
|
|
|
|
supervisorctl start portsyncd
|
|
|
|
|
|
|
|
supervisorctl start intfsyncd
|
|
|
|
|
|
|
|
supervisorctl start neighsyncd
|
|
|
|
|
2017-11-03 19:13:39 -05:00
|
|
|
supervisorctl start teamsyncd
|
|
|
|
|
2017-11-13 16:38:07 -06:00
|
|
|
supervisorctl start fpmsyncd
|
|
|
|
|
2017-10-24 00:01:42 -05:00
|
|
|
# Start arp_update when VLAN exists
|
|
|
|
# VLAN=`sonic-cfggen -d -v 'VLAN.keys() | join(" ") if VLAN'`
|
|
|
|
# if [ "$VLAN" != "" ]; then
|
|
|
|
# supervisorctl start arp_update
|
|
|
|
# fi
|