diff options
author | xtraeme <xtraeme> | 2004-11-02 00:55:20 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-11-02 00:55:20 +0000 |
commit | 8eaac8b58c85fb381d9dfd3eb368581c8a8a7d94 (patch) | |
tree | 44570915392d203d13658f6ef8accddc71232a22 /mail | |
parent | 6ae3e9b83460d468d8ab3695e305718d558ced91 (diff) | |
download | pkgsrc-8eaac8b58c85fb381d9dfd3eb368581c8a8a7d94.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 |