#! /bin/sh
#
# sendmail	Example file to build /etc/init.d scripts.
#
# Version:	@(#) /etc/init.d/sendmail 1.01 26-Oct-1993
#
# Author:	Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#

  # Source function library.
  . /etc/init.d/functions

  # See how we were called.
  case "$1" in
    start)
	echo -n "Starting "
	daemon /usr/lib/sendmail -bd -q30m
	echo
	;;
    stop)
	killproc sendmail 
	echo
	;;
    *)
	# Oops someone made a typo.
	echo "Usage: /etc/init.d/sendmail {start|stop}"
	exit 1
  esac

  exit 0
