lm_sensors/lm_sensors-wrapper
DistroBaker 221e3ee2e0 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/lm_sensors.git#fee2555a4097825f30922de3c646b5ca80cbefff
2021-03-11 20:14:03 +00:00

9 lines
165 B
Bash

#!/bin/sh
if /usr/bin/systemd-detect-virt 2>/dev/null 1>&2; then
SENSORS_FLAGS_VM='-n';
else
SENSORS_FLAGS_VM='';
fi;
/usr/bin/sensors -s $SENSORS_FLAGS_VM