diff options
author | Martin Schulze <joey@infodrom.org> | 2004-09-13 09:07:18 +0200 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 19:58:43 +0200 |
commit | ae03fe5d926a63cab418207f760d62a947957123 (patch) | |
tree | aa48cfe56ac7c47fb9b0abce4d4689033d3098d6 /debian/sendmail.init.d.in | |
parent | dd994db23cb7f88732be927fad3a7039bd6301db (diff) | |
download | sendmail-debian/8.12.3-7.1.tar.gz |
Imported Debian patch 8.12.3-7.1debian/8.12.3-7.1
Diffstat (limited to 'debian/sendmail.init.d.in')
-rw-r--r-- | debian/sendmail.init.d.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/sendmail.init.d.in b/debian/sendmail.init.d.in new file mode 100644 index 0000000..5e72517 --- /dev/null +++ b/debian/sendmail.init.d.in @@ -0,0 +1,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; |