- #10232: lintian provjera
[ossec-hids.git] / debian / prerm
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6     purge|remove)
7       # continue below
8     ;;
9
10     *)
11         exit 0
12     ;;
13 esac
14
15 # stop the service
16 if [ -x /usr/sbin/invoke-rc.d ]; then
17     invoke-rc.d ossec-hids stop
18 else
19     /etc/init.d/ossec-hids stop
20 fi
21
22 # dh_installdeb will replace this with shell code automatically
23 # generated by other debhelper scripts.
24
25 #DEBHELPER#
26
27 exit 0