24d4f258b3
load_rc_config in NetBSD 1.6. This resolves PR pkg/18928 by Frank Cusack (fcusack at fcusack com). The rc.d script is now called on 'shutdown'. Included fixes from SA CVS repository (2002-10-21) to minimize impact of Razor2 on the environment vector, especially PATH. Bumped PKGREVISION.
22 lines
555 B
Text
22 lines
555 B
Text
$NetBSD: patch-ad,v 1.3 2002/11/06 21:51:26 heinz Exp $
|
|
|
|
--- spamd/netbsd-rc-script.sh.orig Thu Sep 26 12:50:26 2002
|
|
+++ spamd/netbsd-rc-script.sh
|
|
@@ -1,2 +1,2 @@
|
|
-#! /bin/sh
|
|
+#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
@@ -13,2 +13,3 @@
|
|
# BEFORE: mail
|
|
+# KEYWORD: shutdown
|
|
|
|
@@ -34,6 +35,6 @@
|
|
# default values, may be overridden by setting them in /etc/rc.conf
|
|
-spamd_flags="-H -c -a"
|
|
-spamd=NO
|
|
+spamd_flags=${spamd_flags-"-H -c -a"}
|
|
+spamd=${spamd:-NO}
|
|
|
|
-INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@
|
|
+INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@ # set during package build
|
|
|