diff options
Diffstat (limited to 'mail-mta/postfix/files/postfix.rc6.2.5')
-rw-r--r-- | mail-mta/postfix/files/postfix.rc6.2.5 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail-mta/postfix/files/postfix.rc6.2.5 b/mail-mta/postfix/files/postfix.rc6.2.5 index 48cbcf0..b2396b3 100644 --- a/mail-mta/postfix/files/postfix.rc6.2.5 +++ b/mail-mta/postfix/files/postfix.rc6.2.5 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.5,v 1.2 2008/04/08 22:02:34 falco Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.5,v 1.3 2008/08/18 14:18:40 falco Exp $ # If you plan to simultaneously use several Postfix instances, don't forget # to specify your alternate_config_directories variable in your main main.cf file. @@ -20,7 +20,7 @@ opts="${opts} reload" depend() { use logger dns ypbind amavisd mysql postgresql antivirus postfix_greylist net saslauthd - if [ "${SVCNAME}" == "postfix" ]; then + if [ "${SVCNAME}" = "postfix" ]; then provide mta fi } @@ -31,7 +31,7 @@ start() { eend 1 "${CONF_DIR} does not exist" return 1 fi - /usr/sbin/postfix -c ${CONF_DIR} start &>/dev/null + /usr/sbin/postfix -c ${CONF_DIR} start >/dev/null 2>&1 eend $? } |