#!@RCD_SCRIPTS_SHELL@ # # $NetBSD: sid-milter.sh,v 1.1.1.1 2010/03/12 22:42:55 pettai Exp $ # # PROVIDE: sidfilter # REQUIRE: DAEMON if [ -f /etc/rc.subr ]; then . /etc/rc.subr fi name="sidfilter" rcvar=$name command="@PREFIX@/bin/sid-filter" pidfile="/var/run/sid-filter.pid" command_args="-l -P ${pidfile}" if [ -f /etc/rc.subr ]; then load_rc_config $name run_rc_command "$1" else echo -n " ${name}" ${command} ${sidfilter_flags} ${command_args} fi