sonic-buildimage/platform/cavium/docker-syncd-cavm/start.sh
Denys Haryachyy b8825498da Added rules to build syncd and orchagent containers for Cavium target (#152)
* Cavium support in the new build infrastructure

* Added a file with a list of cavium debian packages

* docker-syncd-cavm : Added SAI and XDK libraries

* docker-syncd-cavm : Removed redis-tools from docker template
2016-12-23 15:26:51 -08:00

24 lines
298 B
Bash
Executable File

#!/bin/bash
export XP_ROOT=/usr/bin/
service rsyslog start
while true; do
# Check if redis-server starts
result=$(redis-cli ping)
if [ "$result" == "PONG" ]; then
redis-cli FLUSHALL
syncd -p /etc/ssw/AS7512/profile.ini -N
break
fi
sleep 1
done