1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net-mgmt/net-snmp/files/patch-local:traptoemail
Jun Kuriyama ef7f2d6bba Various fixes / improvements.
See PR for details.

PR:		ports/63759
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-03-10 13:40:41 +00:00

17 lines
571 B
Plaintext

--- local/traptoemail.orig Thu May 29 05:30:19 2003
+++ local/traptoemail Thu May 29 05:35:13 2003
@@ -1,11 +1,11 @@
-#!/usr/bin/perl
+#!%%PERL%%
# This is a snmptrapd handler script to convert snmp traps into email
# messages.
# Usage:
# Put a line like the following in your snmptrapd.conf file:
-# traphandle TRAPOID|default /usr/local/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES
+# traphandle TRAPOID|default %%PREFIX%%/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES
# FROM defaults to "root"
# SMTPSERVER defaults to "localhost"