testdf : do not check efivarfs mount
This commit is contained in:
@@ -188,7 +188,7 @@ function testdf()
|
|||||||
fi
|
fi
|
||||||
IFS="
|
IFS="
|
||||||
"
|
"
|
||||||
for ligne in `LANGUAGE=C df -P -l -x tmpfs -x devtmpfs -x squashfs $fs | sed '/Filesystem/d'`; do
|
for ligne in `LANGUAGE=C df -P -l -x tmpfs -x devtmpfs -x squashfs -x efivarfs $fs | sed '/Filesystem/d'`; do
|
||||||
fs_space=`echo $ligne | awk '{print $5}'| sed 's/\%//'`
|
fs_space=`echo $ligne | awk '{print $5}'| sed 's/\%//'`
|
||||||
filesys=`echo $ligne | awk '{print $6}'`
|
filesys=`echo $ligne | awk '{print $6}'`
|
||||||
if [ $fs_space -gt $limite ]; then
|
if [ $fs_space -gt $limite ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user