chiark / gitweb /
debugging for thing that crashed
[innduct.git] / debian / inn2.prerm
1 #!/bin/sh -e
2
3 kill_innd() {
4     if [ -x /etc/init.d/inn2 ]; then
5         invoke-rc.d inn2 stop
6     fi
7 }
8
9 case "$1" in
10     remove|deconfigure|failed-upgrade)
11         kill_innd
12     ;;
13
14     upgrade)
15     ;;
16
17     *)
18     echo "$0 called with unknown argument '$1'" >&2
19     exit 1
20     ;;
21 esac
22
23 #DEBHELPER#
24
25 exit 0