diff options
author | Doug Barton <dougb@FreeBSD.org> | 2009-07-15 16:56:10 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2009-07-15 16:56:10 +0000 |
commit | 0175383f0a1f8b78ed514778532f0467a8ccc6dc (patch) | |
tree | 4c98b621f22bb861a40c6493c6ed7517f295f7f3 /security/f-protd | |
parent | e6246d1055202098dd1df8f2a827665d39dddde8 (diff) | |
download | ports-0175383f0a1f8b78ed514778532f0467a8ccc6dc.tar.gz ports-0175383f0a1f8b78ed514778532f0467a8ccc6dc.zip |
Notes
Diffstat (limited to 'security/f-protd')
-rw-r--r-- | security/f-protd/files/fprotd.sh.in | 6 | ||||
-rw-r--r-- | security/f-protd/files/fprotd_scanmail.sh.in | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/security/f-protd/files/fprotd.sh.in b/security/f-protd/files/fprotd.sh.in index 5d8d3957ee4b..9d0c306a81b6 100644 --- a/security/f-protd/files/fprotd.sh.in +++ b/security/f-protd/files/fprotd.sh.in @@ -11,14 +11,12 @@ # fprotd_enable="YES" # -prefix=%%PREFIX%% - . /etc/rc.subr name=fprotd rcvar=`set_rcvar` start_precmd="fprotd_precmd" -command="${prefix}/f-prot/f-protd" +command="%%PREFIX%%/f-prot/f-protd" command_args="> /dev/null 2>&1" required_files="/etc/f-prot.conf" @@ -26,7 +24,7 @@ required_files="/etc/f-prot.conf" load_rc_config ${name} : ${fprotd_enable=NO} -: ${fprotd_virus_defs=${prefix}/f-prot} +: ${fprotd_virus_defs=%%PREFIX%%/f-prot} fprotd_precmd() { diff --git a/security/f-protd/files/fprotd_scanmail.sh.in b/security/f-protd/files/fprotd_scanmail.sh.in index dc9fc183b711..887aaffef574 100644 --- a/security/f-protd/files/fprotd_scanmail.sh.in +++ b/security/f-protd/files/fprotd_scanmail.sh.in @@ -11,14 +11,12 @@ # fprotd_scanmail_enable="YES" # -prefix=%%PREFIX%% - . /etc/rc.subr name=fprotd_scanmail rcvar=`set_rcvar` pidfile="/var/run/scanmail.pid" -command="${prefix}/f-prot/tools/scan-mail.pl" +command="%%PREFIX%%/f-prot/tools/scan-mail.pl" command_args="> /dev/null 2>&1" command_interpreter="/usr/bin/perl" |