!6 fix lm_sensors-modprobe-r-wrapper/lm_sensors-modprobe-wrapper scripts
Merge pull request !6 from luocheng382548/master
This commit is contained in:
commit
1dd863e123
@ -2,7 +2,7 @@
|
|||||||
if [ $# -ne 0 ]; then
|
if [ $# -ne 0 ]; then
|
||||||
/usr/sbin/modprobe -abr "$@"
|
/usr/sbin/modprobe -abr "$@"
|
||||||
else
|
else
|
||||||
if [ `/usr/bin/sensors -s` ]; then
|
if ! /usr/bin/sensors -s &> /dev/null ; then
|
||||||
echo "No sensors with loadable kernel modules configured."
|
echo "No sensors with loadable kernel modules configured."
|
||||||
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
if [ $# -ne 0 ]; then
|
if [ $# -ne 0 ]; then
|
||||||
/usr/sbin/modprobe -ab "$@"
|
/usr/sbin/modprobe -ab "$@"
|
||||||
else
|
else
|
||||||
if [ `/usr/bin/sensors -s` ]; then
|
if ! /usr/bin/sensors -s &> /dev/null ; then
|
||||||
echo "No sensors with loadable kernel modules configured."
|
echo "No sensors with loadable kernel modules configured."
|
||||||
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: lm_sensors
|
Name: lm_sensors
|
||||||
Version: 3.6.0
|
Version: 3.6.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Linux-monitoring sensors
|
Summary: Linux-monitoring sensors
|
||||||
# lib/libsensors.3 is licensed Verbatim
|
# lib/libsensors.3 is licensed Verbatim
|
||||||
# dist-git files are licensed MIT
|
# dist-git files are licensed MIT
|
||||||
@ -166,6 +166,9 @@ fi
|
|||||||
%exclude %{_mandir}/man8/sensord.8.gz
|
%exclude %{_mandir}/man8/sensord.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 22 2020 Chunsheng Luo <luochunsheng@huawei.com> - 3.6.0-2
|
||||||
|
- fix lm_sensors-modprobe-r-wrapper/lm_sensors-modprobe-wrapper scripts
|
||||||
|
|
||||||
* Thu May 21 2020 Chunsheng Luo <luochunsheng@huawei.com> - 3.6.0-1
|
* Thu May 21 2020 Chunsheng Luo <luochunsheng@huawei.com> - 3.6.0-1
|
||||||
- update to version 3.6.0
|
- update to version 3.6.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user