Subject: how to add flags to an rc.d script
To: None <pkgsrc-users@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: pkgsrc-users
Date: 11/12/2006 16:38:40
Hello,
I installed mail/spamd and copied /usr/pkg/share/examples/rc.d/pfspamd to
/etc/rc.d.
I would like to have the command issued by the script use the '-g'
(greylisting) flag. When I change:
command="/usr/pkg/libexec/spamd"
to
command="/usr/pkg/libexec/spamd -g"
I get an interpreter error. When in rc.conf I change
pfspamd=YES
to
pfspamd=YES pfspamd_flags="-g" # greylisting
there is no effect.
What is the right way to do this? I didn't find anything in TFM for
rc(8).
Many thanks.
--jkl