blob: 5e7251791e4786db09ad36c291926992d569cffa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/bin/sh -e
#
# $Sendmail: init.d,v @sm_version@ @sm_date@ @sm_time@ cowboy Exp $
#
# Sendmail rc script for Debian (/etc/init.d/sendmail)
#
# Copyright (c) 2001-@SM_CPYRT@, Richard Nelson <cowboy@debian.org>.
#
# Notes (to all):
# * *** Do not edit this file *** Instead edit /etc/mail/sendmail.conf
#
# Notes (to self):
# *
#
set -e;
PATH=/bin:/usr/bin:/sbin:/usr/sbin;
# All the real work is done by helper functions defined herein (really!)
if [ ! -x @datadir@/sendmail/sendmail ]; then
echo "@datadir@/sendmail/sendmail not found/executable, aborting.";
exit 1;
fi;
. @datadir@/sendmail/sendmail;
exit 0
# Control never reaches here, but lets keep lintian from bitching...
case "$1" in
start)
;;
stop)
;;
restart)
;;
restart-if-running)
;;
reload|force-reload)
;;
*)
;;
esac;
exit 0;
|