pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/clamav/files Don't harcode default flags for fres...
details: https://anonhg.NetBSD.org/pkgsrc/rev/77a21e713f88
branches: trunk
changeset: 482727:77a21e713f88
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Nov 02 00:55:20 2004 +0000
description:
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:
mail/clamav/files/freshclamd.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 4b62f0792561 -r 77a21e713f88 mail/clamav/files/freshclamd.sh
--- a/mail/clamav/files/freshclamd.sh Tue Nov 02 00:44:00 2004 +0000
+++ b/mail/clamav/files/freshclamd.sh Tue Nov 02 00:55:20 2004 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index