This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Platform support to print Z9100 and S6100 sensors * Override default sensors script with platform specific
- Loading branch information
1 parent
e1bdf0a
commit 1abd4e6
Showing
4 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
z9100/scripts/check_qsfp.sh usr/local/bin | ||
z9100/scripts/z9100_platform_init.sh usr/local/bin | ||
z9100/scripts/platform_sensors.py usr/local/bin | ||
z9100/cfg/z9100-modules.conf etc/modules-load.d | ||
z9100/scripts/sensors usr/bin | ||
z9100/cfg/z9100-modules.conf etc/modules-load.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
docker exec -i pmon sensors "$@" | ||
|
||
#To probe sensors not part of lm-sensors | ||
if [ -r /usr/local/bin/platform_sensors.py ]; then | ||
python /usr/local/bin/platform_sensors.py | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
docker exec -i pmon sensors "$@" | ||
|
||
#To probe sensors not part of lm-sensors | ||
if [ -r /usr/local/bin/platform_sensors.py ]; then | ||
python /usr/local/bin/platform_sensors.py | ||
fi |