mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Print the CVS revision as the first line of output (attempt).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3041 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -45,7 +45,9 @@ $ENV{PATH} = '/usr/local/sbin:'.$ENV{PATH}
|
||||
# CONSTANT DECLARATIONS #
|
||||
#########################
|
||||
|
||||
use vars qw(@pci_adapters @chip_ids @superio_ids);
|
||||
use vars qw(@pci_adapters @chip_ids @superio_ids $revision);
|
||||
|
||||
$revision = '$Revision$ ($Date$)';
|
||||
|
||||
# This is the list of SMBus or I2C adapters we recognize by their PCI
|
||||
# signature. This is an easy and fast way to determine which SMBus or I2C
|
||||
@@ -4996,6 +4998,7 @@ sub main
|
||||
initialize_modules_list;
|
||||
initialize_kernel_version;
|
||||
|
||||
print "# sensors-detect revision $revision\n";
|
||||
print "\nThis program will help you determine which I2C/SMBus modules you need to\n",
|
||||
"load to use lm_sensors most effectively. You need to have i2c and\n",
|
||||
"lm_sensors installed before running this program.\n";
|
||||
|
Reference in New Issue
Block a user