diff --git a/plugins/other/mbmon b/plugins/other/mbmon new file mode 100755 index 00000000..da8c4480 --- /dev/null +++ b/plugins/other/mbmon @@ -0,0 +1,61 @@ +#!/usr/bin/perl -w +# -*- perl -*- + +# +# Author: Slaven Rezic +# +# Copyright (C) 2011 Slaven Rezic. All rights reserved. +# This program is free software; you can redistribute it and/or +# modify it under the same terms as Perl itself. +# +# Mail: slaven@rezic.de +# WWW: http://www.rezic.de/eserte/ +# + +use strict; + +my $mbmon = "/usr/local/bin/mbmon"; + +if ($ARGV[0] eq 'autoconf') { + if (-x $mbmon) { + print "yes\n"; + exit 0; + } else { + print "no\n"; + exit 1; + } +} elsif ($ARGV[0] eq 'config') { + print <