summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-local:traptoemail
blob: 402506b540c6ccc1bf1fbe6ab07103bdd730a273 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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"