From 35d0933b0cb555e667266cdd693d40d83dfb7c93 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 10 Dec 2011 21:20:52 +0100 Subject: [PATCH] tweak wrapper --- modules/munin-node/files/df-wrap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/munin-node/files/df-wrap b/modules/munin-node/files/df-wrap index 4508e8689..b53f2bb20 100644 --- a/modules/munin-node/files/df-wrap +++ b/modules/munin-node/files/df-wrap @@ -30,10 +30,10 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. case "${0##*/}" in - df) plugin=/usr/share/munin/plugins/df ;; - df_abs) plugin=/usr/share/munin/plugins/df_abs ;; - df_node) plugin=/usr/share/munin/plugins/df_inode ;; + df) plugin=/usr/share/munin/plugins/df ; filter='^_dev\.|^_run|^_lib_init_rw|_sbuild_|_schroot_' ;; + df_abs) plugin=/usr/share/munin/plugins/df_abs ; filter='^tmpfs|^udev|_sbuild_|_schroot_' ;; + df_inode) plugin=/usr/share/munin/plugins/df_inode ; filter='^_dev\.|^_run|^_lib_init_rw|_sbuild_|_schroot_' ;; *) echo >&2 "$0: Do not know which plugin to call based on script name."; exit 1 ;; esac -"$plugin" "$@" | egrep -v '^_dev\.|^_run|^_lib_init_rw|_sbuild_|_schroot_' +"$plugin" "$@" | egrep -v "$filter" -- 2.20.1