mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
index.cgi exclude efivarfs from disk free check
on some systems this filesystem is always reported as full so this is now excluded. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -564,6 +564,7 @@ my $temp2=();
|
||||
my @df = `/bin/df -B M -P -x rootfs`;
|
||||
foreach my $line (@df) {
|
||||
next if $line =~ m/^Filesystem/;
|
||||
next if $line =~ m/^efivarfs/;
|
||||
if ($line =~ m/root/ ) {
|
||||
$line =~ m/^.* (\d+)M.*$/;
|
||||
@temp = split(/ +/,$line);
|
||||
|
||||
Reference in New Issue
Block a user