221e3ee2e0
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
9 lines
165 B
Bash
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
|