mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2014-03-13 Mario Pulido <mario.pulido@artica.es>
* plugins/inventory: Distributions compatibility git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
602e0f56c7
commit
f1bbd35a67
@ -1,3 +1,7 @@
|
|||||||
|
2014-03-13 Mario Pulido <mario.pulido@artica.es>
|
||||||
|
|
||||||
|
* plugins/inventory: Distributions compatibility
|
||||||
|
|
||||||
2014-02-03 Mario Pulido <mario.pulido@artica.es>
|
2014-02-03 Mario Pulido <mario.pulido@artica.es>
|
||||||
|
|
||||||
* SunOS/make_solaris_package/README: Update compatible SunOS versions
|
* SunOS/make_solaris_package/README: Update compatible SunOS versions
|
||||||
|
@ -63,7 +63,7 @@ sub get_module_data ($$$$) {
|
|||||||
sub get_file_system($$) {
|
sub get_file_system($$) {
|
||||||
my ($name, $modules) = @_;
|
my ($name, $modules) = @_;
|
||||||
|
|
||||||
my @fileSystems = `df -h | tail -n +2`; #remove the titles of columns
|
my @fileSystems = `df -hP | tail -n +2`; #remove the titles of columns
|
||||||
|
|
||||||
foreach my $row (@fileSystems) {
|
foreach my $row (@fileSystems) {
|
||||||
next unless ($row =~ /^(\S+)\s+\S+\s+(\S+)\s+(\S+)\s+\S+\s+(\S+)/);
|
next unless ($row =~ /^(\S+)\s+\S+\s+(\S+)\s+(\S+)\s+\S+\s+(\S+)/);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user