b8825498da
* 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
24 lines
298 B
Bash
Executable File
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
|