This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/dockers/docker-platform-monitor/config.sh

11 lines
272 B
Bash
Executable File

#!/bin/bash
mkdir -p /etc/sensors.d
hwsku=`sonic-cfggen -m /etc/sonic/minigraph.xml -v minigraph_hwsku`
/bin/cp -rf /usr/share/sonic/$hwsku/sensors.conf /etc/sensors.d/
mkdir -p /var/sonic
echo "# Config files managed by sonic-config-engine" >/var/sonic/config_status