aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2012-09-06 11:03:47 +0800
committerzi <zi@FreeBSD.org>2012-09-06 11:03:47 +0800
commitf7e2d1faf4d264735527b584ce459f59ade02884 (patch)
tree4f523964c89ecae6b39f5d959e9f526da0550530
parentfe72e8edb2443fd67c9f28154b28dfad0a456fd0 (diff)
downloadfreebsd-ports-gnome-f7e2d1faf4d264735527b584ce459f59ade02884.tar.gz
freebsd-ports-gnome-f7e2d1faf4d264735527b584ce459f59ade02884.tar.zst
freebsd-ports-gnome-f7e2d1faf4d264735527b584ce459f59ade02884.zip
- Fix issues in rc script + pkg-message
Submitted by: Karsten Schmidt <gugge@guggemand.dk>
-rw-r--r--net-mgmt/pmacct/files/pkg-message.in2
-rw-r--r--net-mgmt/pmacct/files/pmacctd.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/pmacct/files/pkg-message.in b/net-mgmt/pmacct/files/pkg-message.in
index 7fec298a6f6d..7d84ec14b37f 100644
--- a/net-mgmt/pmacct/files/pkg-message.in
+++ b/net-mgmt/pmacct/files/pkg-message.in
@@ -3,7 +3,7 @@ Please note that this port requires configuration before it will function
Add these to /etc/rc.conf:
pmacctd_enable="YES"
-pmacctd_flags="-DF %%PREFIX%%/etc/pmacctd.conf -i <interface>"
+pmacctd_flags="-Df %%PREFIX%%/etc/pmacctd.conf -i <interface>"
Configuration examples are located in %%EXAMPLESDIR%%. You must copy
one of these to %%PREFIX%%/etc/pmacctd.conf and make any required edits
diff --git a/net-mgmt/pmacct/files/pmacctd.in b/net-mgmt/pmacct/files/pmacctd.in
index 17a749a3d866..860690cfb6d5 100644
--- a/net-mgmt/pmacct/files/pmacctd.in
+++ b/net-mgmt/pmacct/files/pmacctd.in
@@ -25,7 +25,7 @@
name=pmacctd
rcvar=pmacctd_enable
-command=%%PREFIX%%/$name
+command=%%PREFIX%%/sbin/$name
# set defaults