aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-02-09 08:04:51 +0100
committerChristian Weiske <cweiske@cweiske.de>2011-02-09 08:04:51 +0100
commit372a95ade862f2d7bd661c464a4a2a9852070dfb (patch)
treec1e548244df2a2fcec6834504d772c56491f14b5
parent86ce4bf61aba21124eab2e405f39283e0d7fc591 (diff)
downloadusb-wde1-tools-372a95ade862f2d7bd661c464a4a2a9852070dfb.tar.gz
usb-wde1-tools-372a95ade862f2d7bd661c464a4a2a9852070dfb.zip
make it easier to run the plugin from cmdline without munin-run
-rwxr-xr-xmunin/usb-wde1_2
1 files changed, 1 insertions, 1 deletions
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'`