-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wouldn't it be nicer to use a "not.monitor" or whatever one should call it - something that can call other monitors so that one can negate any kind of monitor verification.

Should be quite simple, I think - something like:
- --- begin code
#!/whereever/perl -w

use strict;

my $monitordir = $0;
$monitordir =~ s|/[^/]+$||;

exit ! system($monitordir.'/'.shift @ARGV, @ARGV);
- --- cut

Baltasar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDeatap2YsmzTbIwYRAhvZAJ47R/MQTSYV3XxeCXVGX7EKMLyprACgtAe3
IzcTkGc959eYbtHC90rLyTQ=
=RSlf
-----END PGP SIGNATURE-----

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to