sonic-buildimage/platform/broadcom/sonic-platform-modules-cel/silverstone/scripts/sensors
Pradchaya Phucharoen 2e61e14bb3 [devices] Celeatica Silverstone add IPMI platform sensor read. (#3591)
* [platform/broadcom] Celeatica Silverstone add IPMI platform sensor read.

* [platform_sensors] Silverstone update temperature sensor description
2019-11-07 22:02:52 -08:00

12 lines
242 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 pmon sensors "$@"
docker exec -$DOCKER_EXEC_FLAGS pmon platform_sensors.py "$@"