diff options
author | Ondřej Lysoněk <olysonek@redhat.com> | 2019-10-17 16:18:23 +0200 |
---|---|---|
committer | Ondřej Lysoněk <olysonek@redhat.com> | 2019-10-17 16:18:23 +0200 |
commit | f1e1a7607caa96bda67920f76c795d1dc7d9a10c (patch) | |
tree | a62b0642bd31c9a3386dbc25b8dd5526b725245f /prog | |
parent | 5c900c7e851cc1f0de81772432e37a54e9833f89 (diff) | |
download | lm-sensors-git-f1e1a7607caa96bda67920f76c795d1dc7d9a10c.tar.gz |
Rename LM_SENSORS_VER to LM_VERSION
Rename LM_SENSORS_VER to LM_VERSION to match the version constant in
version.h. Also, use the "+git" suffix in the version as we are
between releases.
Diffstat (limited to 'prog')
-rwxr-xr-x | prog/detect/sensors-detect | 4 | ||||
-rwxr-xr-x | prog/pwm/pwmconfig | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index bde31940..07df0fbe 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -38,7 +38,7 @@ foreach ('/usr/sbin', '/usr/local/sbin', '/sbin') { ######################### use constant NO_CACHE => 1; -use constant LM_SENSORS_VER => '3.5.0'; +use constant LM_VERSION => '3.5.0+git'; use vars qw(@pci_adapters @chip_ids @ipmi_ifs @non_hwmon_chip_ids $i2c_addresses_to_scan @i2c_byte_cache %opt); @@ -7508,7 +7508,7 @@ sub main system("/sbin/service", "lm_sensors", "stop"); } - print "# sensors-detect version ".LM_SENSORS_VER."\n"; + print "# sensors-detect version ".LM_VERSION."\n"; initialize_dmi_data(); print_dmi_summary(); print_kernel_version(); diff --git a/prog/pwm/pwmconfig b/prog/pwm/pwmconfig index 68ac6f79..3ecdca5b 100755 --- a/prog/pwm/pwmconfig +++ b/prog/pwm/pwmconfig @@ -29,7 +29,7 @@ # # -LM_SENSORS_VER='3.5.0' +LM_VERSION='3.5.0+git' PIDFILE="/var/run/fancontrol.pid" if [ -f "$PIDFILE" ] @@ -47,7 +47,7 @@ then exit 1 fi -echo "# pwmconfig version $LM_SENSORS_VER" +echo "# pwmconfig version $LM_VERSION" echo 'This program will search your sensors for pulse width modulation (pwm)' echo 'controls, and test each one to see if it controls a fan on' echo 'your motherboard. Note that many motherboards do not have pwm' |