diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-11-02 00:55:20 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-11-02 00:55:20 +0000 |
commit | 5726a1fc1413338b284565f9ec7206f752cc1a4f (patch) | |
tree | 44570915392d203d13658f6ef8accddc71232a22 /mail | |
parent | 434b84b1ab7a37d9fc183c86f1778926e9cb1ed5 (diff) | |
download | pkgsrc-5726a1fc1413338b284565f9ec7206f752cc1a4f.tar.gz |
Don't harcode default flags for freshclam, use defaults if none was
given (-c 2). Patch submitted by Koji Mori in PR pkg/27734.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/clamav/files/freshclamd.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/clamav/files/freshclamd.sh b/mail/clamav/files/freshclamd.sh index b75a51d5f62..e11e67f86c6 100644 --- a/mail/clamav/files/freshclamd.sh +++ b/mail/clamav/files/freshclamd.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: freshclamd.sh,v 1.1 2004/10/30 10:23:02 grant Exp $ +# $NetBSD: freshclamd.sh,v 1.2 2004/11/02 00:55:20 xtraeme Exp $ # # PROVIDE: freshclamd # REQUIRE: DAEMON LOGIN clamd @@ -12,7 +12,8 @@ required_files="@PKG_SYSCONFDIR@/freshclam.conf" pidfile="@VARBASE@/run/${name}.pid" sig_stop="KILL" freshclamd_user="@CLAMAV_USER@" -command_args="-d -c 2" +freshclamd_flags=${freshclamd_flags:=-c 2} +command_args="-d" . /etc/rc.subr |