~ubuntu-branches/ubuntu/lucid/postfix/lucid-backports

« back to all changes in this revision

Viewing changes to auxiliary/MacOSX/deactivate-postfix

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2008-09-07 14:02:15 UTC
  • mfrom: (29.1.21 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080907140215-d9zf8bj803ditke5
Tags: 2.5.5-1.1
* Non-maintainer upload.
* Add rsyslog.d config snipped to create a /dev/log syslog socket in the
  postfix chroot.  Also, add a note about other syslog daemons to
  README.Debian.  Closes: #311812

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# Written by Gerben Wierda, Sep 2002. I waive every copyright on this and
4
 
# I also do not give any warranty.
5
 
 
6
 
. ./defines
7
 
 
8
 
if [ -e "${PSI}" ]
9
 
then
10
 
        mv "${PSI}" "${PSIDISABLED}"
11
 
fi
12
 
 
13
 
# De-activate postfix in /etc/hostconfig
14
 
/usr/bin/perl -pi -e 's/POSTFIX=-YES-/POSTFIX=-NO-/g' /etc/hostconfig
15
 
 
16
 
/usr/sbin/postfix stop >/dev/null 2>&1