d094ceecc2
* Add files for building ledd package; add ledd to docker-platform-monitor; Control platform monitor docker using supervisord * Add sonic-platform-daemons submodule * Rename ledd.mk -> sonic-ledd.mk * Add led_control.py plugin for x86_64-arista_7050_qx32 platform * Rename Dockerfile -> Dockerfile.j2 * Fix build * Remove blank line
17 lines
391 B
Bash
Executable File
17 lines
391 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
mkdir -p /etc/sensors.d
|
|
if [ -e /usr/share/sonic/platform/sensors.conf ]; then
|
|
/bin/cp -rf /usr/share/sonic/platform/sensors.conf /etc/sensors.d/
|
|
fi
|
|
|
|
mkdir -p /var/sonic
|
|
echo "# Config files managed by sonic-config-engine" > /var/sonic/config_status
|
|
|
|
rm -f /var/run/rsyslogd.pid
|
|
|
|
supervisorctl start rsyslogd
|
|
supervisorctl start lm-sensors
|
|
supervisorctl start ledd
|
|
|