mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 22:05:41 +02:00
Merge branch 'ent-4890-8989-pandora_df_used-filtro-por-regexp' into 'develop'
Added regexp See merge request artica/pandorafms!2897
This commit is contained in:
commit
533ea33f5e
@ -57,7 +57,11 @@ else
|
||||
{
|
||||
if (substr($fs,0,1) eq '-')
|
||||
{
|
||||
$excluded_filesystems{substr($fs,1,)} = '-1%';
|
||||
my $mount_name=substr($fs,1,);
|
||||
my @mount_all= split /\n/, `df -khTP | tail -n +2 | awk '{print \$7}'| grep -i "$mount_name"`;
|
||||
foreach (@mount_all){
|
||||
$excluded_filesystems{$_} = '-1%';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user