#!/bin/sh
##############################################################################
# $Id: disable_sendmail_daemon_mode,v 1.1 2002/03/21 19:05:24 root Exp $
##############################################################################
# Stop sendmail from accepting SMTP traffic.  Sendmail will continue to
# run as a daemon processes queued mail.
##############################################################################
# $Log: disable_sendmail_daemon_mode,v $
# Revision 1.1  2002/03/21 19:05:24  root
# Initial revision
#
##############################################################################

echo
echo "Start of $0"
echo '  $Id: disable_sendmail_daemon_mode,v 1.1 2002/03/21 19:05:24 root Exp $'

BASE=/a

echo "  Disabling sendmail daemon mode"
echo MODE="" > $BASE/etc/default/sendmail
chmod 644 $BASE/etc/default/sendmail

echo "End of $0"

