make postfix ready for alternatives (chkconfig)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Alexander Marx
2015-08-20 10:00:37 +02:00
committed by Michael Tremer
parent 42edc41f30
commit 5267e19c3a
3 changed files with 5 additions and 1 deletions

View File

@@ -34,3 +34,6 @@ start_service ${NAME}
ln -sf ../init.d/postfix /etc/rc.d/rc0.d/K25postfix
ln -sf ../init.d/postfix /etc/rc.d/rc3.d/S35postfix
ln -sf ../init.d/postfix /etc/rc.d/rc6.d/K25postfix
# Update alternatives
/usr/sbin/alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.postfix 15