#!/bin/sh set -e case "$1" in purge|remove) # continue below ;; *) exit 0 ;; esac # stop the service if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d ossec-hids stop else /etc/init.d/ossec-hids stop fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0