summaryrefslogtreecommitdiff
path: root/mail/postfix/files
diff options
context:
space:
mode:
authorjlam <jlam>2004-07-19 04:51:07 +0000
committerjlam <jlam>2004-07-19 04:51:07 +0000
commit596e40174d76c501d9b3c0d5c40e57c16f7b8460 (patch)
tree1ef0e3d58e361add060f698492da11b5a5d6ad9d /mail/postfix/files
parentfb93469ab385e34c816f6ab154b73a1b5765f3c3 (diff)
downloadpkgsrc-596e40174d76c501d9b3c0d5c40e57c16f7b8460.tar.gz
Compute the value of spooletcdir at run-time rather than hardcoding it.
Diffstat (limited to 'mail/postfix/files')
-rw-r--r--mail/postfix/files/postfix.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/postfix/files/postfix.sh b/mail/postfix/files/postfix.sh
index 312a00a1d2c..46a49eae606 100644
--- a/mail/postfix/files/postfix.sh
+++ b/mail/postfix/files/postfix.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: postfix.sh,v 1.2 2004/07/18 23:42:48 jlam Exp $
+# $NetBSD: postfix.sh,v 1.3 2004/07/19 04:51:07 jlam Exp $
#
# PROVIDE: mail
@@ -18,7 +18,7 @@ start_cmd="${name} "'${rc_arg}'
stop_cmd=$start_cmd
reload_cmd=$start_cmd
extra_commands="reload"
-spooletcdir="@POSTFIX_SPOOL@/etc"
+: ${spooletcdir=`@PREFIX@/sbin/postconf -h queue_directory`/etc}
required_dirs=$spooletcdir
postfix_precmd()