make it easier to run the plugin from cmdline without munin-run
[usb-wde1-tools.git] / munin / usb-wde1_
index 485432b59325ac36a24e16388ca28bbe9b19d9da..27e7bfd8bcab1716a41c7c518cb2334c76c1eca5 100755 (executable)
@@ -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'`