From: Christian Weiske Date: Wed, 9 Feb 2011 07:04:51 +0000 (+0100) Subject: make it easier to run the plugin from cmdline without munin-run X-Git-Tag: v1.0.0~22 X-Git-Url: https://git.cweiske.de/usb-wde1-tools.git/commitdiff_plain/372a95ade862f2d7bd661c464a4a2a9852070dfb make it easier to run the plugin from cmdline without munin-run --- diff --git a/munin/usb-wde1_ b/munin/usb-wde1_ index 485432b..27e7bfd 100755 --- a/munin/usb-wde1_ +++ b/munin/usb-wde1_ @@ -46,7 +46,7 @@ http://www.gnu.org/licenses/agpl.html =cut -. "$MUNIN_LIBDIR/plugins/plugin.sh" +. ${MUNIN_LIBDIR:=/usr/share/munin}/plugins/plugin.sh TYPE=`basename $0 | sed 's/^.*_//g'`