summaryrefslogtreecommitdiff
path: root/debian/exim4-daemon-light.prerm
blob: c4dc9f77911460fd20b26a6a658c21b0fbfcfdc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

[ -n "$EX4DEBUG" ] && set -x

case "$1" in
	remove|upgrade)
    	if [ -x /etc/init.d/exim4 ]; then
		if command -v invoke-rc.d >/dev/null 2>&1; then
		    invoke-rc.d exim4 stop
		else
		    /etc/init.d/exim4 stop
		fi
	fi
	;;
esac

#DEBHELPER#