From 0e92a22bc1158c522a92c9119039fc5f758706cc Mon Sep 17 00:00:00 2001 From: bAndie91 Date: Wed, 2 Jan 2013 16:50:27 +0100 Subject: [PATCH] pod added --- plugins/disk/e2 | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) 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