Do the same for the rc.subr case via a backflip hack to munge command_args.

Noted in private e-mail.
This commit is contained in:
tv 2005-08-23 13:46:37 +00:00
parent 6eff28a5ce
commit 6639c4ce72
2 changed files with 10 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.18 2005/08/23 13:40:02 tv Exp $
# $NetBSD: Makefile,v 1.19 2005/08/23 13:46:37 tv Exp $
#
DISTNAME= spamass-milter-0.3.0
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://savannah.nongnu.org/download/spamass-milt/

View file

@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: spamass-milter.sh,v 1.2 2005/08/23 13:40:02 tv Exp $
# $NetBSD: spamass-milter.sh,v 1.3 2005/08/23 13:46:37 tv Exp $
#
# PROVIDE: spamass-milter
@ -18,6 +18,13 @@ command_args="-u nobody -p /var/run/spamass.sock -f"
if [ -f /etc/rc.subr ]; then
load_rc_config $name
# hack: put ${spamass_milter_flags} last in args,
# so that "-- ..." spamc flags can be added to the end
#
command_args="${command_args} ${spamass_milter_flags}"
spamass_milter_flags=
run_rc_command "$1"
else
@ECHO@ -n " ${name}"