diff --git a/plugins/disk/e2 b/plugins/disk/e2 index 50994e3b..4eaed72e 100644 --- a/plugins/disk/e2 +++ b/plugins/disk/e2 @@ -1,5 +1,30 @@ #!/bin/bash +true << =cut + +=head1 NAME + +ext2 - Wildcard plugin shows ext2/3/4 filesystem information (mount count, last checked, lifetime writes) + +=head1 CONFIGURATION + +[ext2_*] +group disk,floppy + +=head1 AUTHOR + +Andreas Hrubak <> + +=head1 LICENSE + +GPLv2 + +=head1 MAGICK MARKERS + + #%# family=disk + #%# capabilities=autoconf + +=cut print_details() { local myname @@ -30,7 +55,7 @@ lse2() { if [ "$1" = "autoconf" ]; then - if [ -x "`dumpe2fs`" ]; then + if which dumpe2fs >/dev/null 2>&1; then echo yes exit 0 else