Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update platform_sync #9599

Open
wants to merge 1 commit into
base: 201911
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
#!/bin/bash

i2c_flag=0
sudo ipmitool raw 0x30 0x85 1
for i in $(seq 0 9)
do
sleep 0.5
if [ "$(sudo i2cdetect -y 0 | sed 's/^..//' | grep 71)" == "" ];then
i2c_flag=1
break
fi
done
if [ $i2c_flag -eq 0 ];then
sudo ipmitool raw 0x06 0x02
fi

/usr/local/bin/sonic-fanthrml-monitor &
/usr/local/bin/sonic-led-monitor &
/usr/local/bin/sonic-qsfp-monitor &
Expand Down