projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
N'installe le fichier autostart de Window Maker que si le répertoire existe
[hvlinux.git]
/
stage3
/
cis-sendmail
diff --git
a/stage3/cis-sendmail
b/stage3/cis-sendmail
index
e4089e4
..
5f8c206
100755
(executable)
--- a/
stage3/cis-sendmail
+++ b/
stage3/cis-sendmail
@@
-8,8
+8,6
@@
source ../sysinfos
source ../functions
source ../packages-list
source ../functions
source ../packages-list
-CUR_DIR=$(pwd)
-
# Applying patches (if any)
apply_patches ${1}
# Applying patches (if any)
apply_patches ${1}
@@
-38,7
+36,7
@@
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
EOF
# Configuration file for SASL2
EOF
# Configuration file for SASL2
- echo "pwcheck_method: saslauthd" /usr/lib/sasl2/Sendmail.conf
|| exit 1
+ echo "pwcheck_method: saslauthd" /usr/lib/sasl2/Sendmail.conf
fi
cd sendmail
fi
cd sendmail
@@
-202,7
+200,7
@@
EOF
chmod 740 /etc/mail/configure
# Bootscript
chmod 740 /etc/mail/configure
# Bootscript
- install -v -m740 ${
CUR_
DIR}/bootscripts/sendmail /etc/rc.d/init.d
+ install -v -m740 ${
SCR
DIR}/bootscripts/sendmail /etc/rc.d/init.d
# script-name start stop
bootscript_add_rc3 sendmail 65 25
# script-name start stop
bootscript_add_rc3 sendmail 65 25
@@
-247,7
+245,7
@@
EOF
sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /usr/local/bin/mail-if-fail
chmod 755 /usr/local/bin/mail-if-fail
sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /usr/local/bin/mail-if-fail
chmod 755 /usr/local/bin/mail-if-fail
- cp ${
CUR_
DIR}/resources/mail-files.sh /usr/local/bin
+ cp ${
SCR
DIR}/resources/mail-files.sh /usr/local/bin
chmod 755 /usr/local/bin/mail-files.sh
# Executing configure script.
chmod 755 /usr/local/bin/mail-files.sh
# Executing configure script.