mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
cleanup
This commit is contained in:
parent
5ca3c4c336
commit
64265a929e
12
pinxi
12
pinxi
|
@ -30367,15 +30367,15 @@ sub set_gpart_data {
|
|||
}
|
||||
}
|
||||
|
||||
## DisplayManagerData
|
||||
## DmData
|
||||
# Public method: get()
|
||||
# returns hash of array of arrays for dm/lm
|
||||
# returns hash ref of array of arrays for dm/lm
|
||||
# hash: dm, lm
|
||||
# 0: dm/lm print name
|
||||
# 1: dm version
|
||||
# 2: dm status
|
||||
# 1: dm/lm version
|
||||
# 2: dm/lm status
|
||||
{
|
||||
package DisplayManagerData;
|
||||
package DmData;
|
||||
my ($found,@glob);
|
||||
|
||||
sub get {
|
||||
|
@ -36921,7 +36921,7 @@ sub system_item {
|
|||
if ($show{'host'}){
|
||||
$data->{$data_name}[$index]{main::key($num++,0,1,'Host')} = main::get_hostname();
|
||||
}
|
||||
my $dms = DisplayManagerData::get();
|
||||
my $dms = DmData::get();
|
||||
my $dm_key = (!$dms->{'dm'} && $dms->{'lm'}) ? 'Login' : 'DM';
|
||||
my $kernel_data = main::get_kernel_data();
|
||||
$data->{$data_name}[$index]{main::key($num++,1,1,'Kernel')} = $kernel_data->[0];
|
||||
|
|
Loading…
Reference in a new issue