aboutsummaryrefslogtreecommitdiff
path: root/security/scanlogd
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2009-07-15 16:56:10 +0000
committerDoug Barton <dougb@FreeBSD.org>2009-07-15 16:56:10 +0000
commit0175383f0a1f8b78ed514778532f0467a8ccc6dc (patch)
tree4c98b621f22bb861a40c6493c6ed7517f295f7f3 /security/scanlogd
parente6246d1055202098dd1df8f2a827665d39dddde8 (diff)
downloadports-0175383f0a1f8b78ed514778532f0467a8ccc6dc.tar.gz
ports-0175383f0a1f8b78ed514778532f0467a8ccc6dc.zip
Notes
Diffstat (limited to 'security/scanlogd')
-rw-r--r--security/scanlogd/files/scanlogd.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/security/scanlogd/files/scanlogd.sh b/security/scanlogd/files/scanlogd.sh
index ef14beba888b..532249fcfcb3 100644
--- a/security/scanlogd/files/scanlogd.sh
+++ b/security/scanlogd/files/scanlogd.sh
@@ -7,19 +7,18 @@
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
-#
-prefix=%%PREFIX%%
+# Add the following lines to /etc/rc.conf to enable scanlogd:
+# scanlogd_enable="YES"
+# scanlogd_flags="<set as needed>"
scanlogd_enable=${scanlogd_enable:-"NO"} # Enable scanlogd
-scanlogd_program="${prefix}/bin/scanlogd" # Location of scanlogd
-scanlogd_flags=${scanlogd_flags:-""} # Flags to scanlogd
. %%RC_SUBR%%
name="scanlogd"
rcvar=`set_rcvar`
-command="${prefix}/bin/${name}"
+command="%%PREFIX%%/bin/${name}"
required_files=""
load_rc_config $name