mirror of
https://github.com/smxi/inxi.git
synced 2025-04-25 19:19:13 +00:00
Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
|
15a55d0b94 | ||
|
308f2a97be | ||
|
4d6c596ed6 | ||
|
8c3b64c74d | ||
|
bf13ee49a8 |
3 changed files with 5 additions and 3 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
inxi linguist-language=Perl
|
|
@ -56,7 +56,7 @@ Help support the project with a one time or a sustaining donation.
|
|||
|
||||
Paypal: https://www.paypal.com/donate/?hosted_button_id=77DQVM6A4L5E2
|
||||
|
||||
Open Collective: https://opencollective.com/inxi
|
||||
LiberaPay (sustaining donations): https://liberapay.com/smxi/
|
||||
|
||||
================================================================================
|
||||
DEVELOPMENT AND ISSUES
|
||||
|
|
5
inxi
5
inxi
|
@ -50,7 +50,7 @@ use POSIX qw(ceil uname strftime ttyname);
|
|||
## INXI INFO ##
|
||||
my $self_name='inxi';
|
||||
my $self_version='3.3.31';
|
||||
my $self_date='2023-10-31';
|
||||
my $self_date='2023-11-02';
|
||||
my $self_patch='00';
|
||||
## END INXI INFO ##
|
||||
|
||||
|
@ -2711,7 +2711,7 @@ sub download_file {
|
|||
sub get_file_http_tiny {
|
||||
my ($type,$url,$file,$ua) = @_;
|
||||
$ua = ($ua && $dl{'ua'}) ? $dl{'ua'} . $ua: '';
|
||||
my %headers = ($ua) ? ('agent' => $ua) : undef;
|
||||
my %headers = ($ua) ? ('agent' => $ua) : ();
|
||||
my $tiny = HTTP::Tiny->new(%headers);
|
||||
# note: default is no verify, so default here actually is to verify unless overridden
|
||||
$tiny->verify_SSL => 1 if !$use{'no-ssl'};
|
||||
|
@ -26491,6 +26491,7 @@ sub load_sys_data {
|
|||
$adapter .= '-' . $hwmons{$hwmon}->{'device'};
|
||||
($unit,$value,@values) = ();
|
||||
foreach my $item (@{$hwmons{$hwmon}->{'sensors'}}){
|
||||
next if !defined $item->{'id'};
|
||||
my $name = ($item->{'label'}) ? $item->{'label'}: $item->{'id'};
|
||||
if ($item->{'id'} =~ /^temp/){
|
||||
$unit = 'C';
|
||||
|
|
Loading…
Add table
Reference in a new issue