Add config.sh and update README/INSTALL so we can configure the script for non-standard configuration directories
This commit is contained in:
parent
8530b85957
commit
5d8ffda27b
5 changed files with 489 additions and 4 deletions
7
config.sh
Executable file
7
config.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
CDIR=$(postconf -h config_directory)
|
||||
echo "Config directory: ${CDIR}"
|
||||
sed -e 's|@@CDIR@@|'"${CDIR}"'|g' postfix-policyd-spf-perl.in > postfix-policyd-spf-perl
|
||||
Loading…
Add table
Add a link
Reference in a new issue