aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ndpmon/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/ndpmon/files')
-rw-r--r--net-mgmt/ndpmon/files/ndpmonitor.in2
-rw-r--r--net-mgmt/ndpmon/files/patch-create__html__table.py10
2 files changed, 9 insertions, 3 deletions
diff --git a/net-mgmt/ndpmon/files/ndpmonitor.in b/net-mgmt/ndpmon/files/ndpmonitor.in
index 686deeab165..8742713fcad 100644
--- a/net-mgmt/ndpmon/files/ndpmonitor.in
+++ b/net-mgmt/ndpmon/files/ndpmonitor.in
@@ -12,7 +12,7 @@ name="ndpmonitor"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/ndpmon"
-required_files=%%PREFIX%%/etc/ndpmon/config_ndpmon.xml
+required_files=%%ETCDIR%%/config_ndpmon.xml
load_rc_config $name
diff --git a/net-mgmt/ndpmon/files/patch-create__html__table.py b/net-mgmt/ndpmon/files/patch-create__html__table.py
index a3dac0ac843..daab3c3d887 100644
--- a/net-mgmt/ndpmon/files/patch-create__html__table.py
+++ b/net-mgmt/ndpmon/files/patch-create__html__table.py
@@ -1,8 +1,14 @@
$FreeBSD$
---- create_html_table.py.orig
-+++ create_html_table.py
+--- create_html_table.py.orig 2010-12-18 23:33:50.000000000 +0100
++++ create_html_table.py 2010-12-18 23:35:24.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!%%LOCALBASE%%/bin/python
+
+ # takes in input the alerts via the pipe
+ # write the alerts in a file in XML format
@@ -11,7 +11,7 @@
from xml.dom import Node