From: Arne Fitzenreiter Date: Sun, 3 Mar 2024 08:03:22 +0000 (+0100) Subject: index.cgi exclude efivarfs from disk free check X-Git-Tag: v2.29-core185~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d71c37a6329ceeed4657e28c4f51a138e55056dc;p=ipfire-2.x.git 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 --- diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 65773244c5..5e32ce0381 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -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);