3b51cec9a3
[barefoot] Added Newport platform support Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
11 lines
181 B
Bash
Executable File
11 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DOCKER_EXEC_FLAGS="i"
|
|
|
|
# Determine whether stdout is on a terminal
|
|
if [ -t 1 ] ; then
|
|
DOCKER_EXEC_FLAGS+="t"
|
|
fi
|
|
|
|
docker exec -$DOCKER_EXEC_FLAGS syncd ps_info "$@"
|