Commit 4fe19f69 authored by Marco Mariani's avatar Marco Mariani

removed sudo calls

parent 61c0f889
...@@ -44,7 +44,7 @@ if [ "x$1" = "xstatus" -o "x$1" = "xstart" ]; then ...@@ -44,7 +44,7 @@ if [ "x$1" = "xstatus" -o "x$1" = "xstart" ]; then
${zimbra_home}/postfix/sbin/postconf -e mail_owner=${postfix_mail_owner} setgid_group=${postfix_setgid_group} ${zimbra_home}/postfix/sbin/postconf -e mail_owner=${postfix_mail_owner} setgid_group=${postfix_setgid_group}
fi fi
fi fi
sudo ${zimbra_home}/libexec/zmmtastatus 2> /dev/null ${zimbra_home}/libexec/zmmtastatus 2> /dev/null
R=$? R=$?
if [ "x$1" = "xstart" ]; then if [ "x$1" = "xstart" ]; then
if [ "x$R" = "x0" ]; then if [ "x$R" = "x0" ]; then
...@@ -67,8 +67,8 @@ if [ "x$1" = "xstart" -o "x$1" = "xreload" ]; then ...@@ -67,8 +67,8 @@ if [ "x$1" = "xstart" -o "x$1" = "xreload" ]; then
fi fi
if [ -f /etc/aliases ]; then if [ -f /etc/aliases ]; then
sudo ${zimbra_home}/postfix/sbin/postalias /etc/aliases ${zimbra_home}/postfix/sbin/postalias /etc/aliases
fi fi
sudo ${zimbra_home}/postfix/sbin/postfix "$@" ${zimbra_home}/postfix/sbin/postfix "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment