X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=debian%2Fprerm;h=4553f2d8774c8d3e3bc753d1f9c0a13d8b5ffd5d;hp=5bcb01161420c4776fa13687cac2f8aaf3f7995d;hb=HEAD;hpb=7faf709324cb60862a3db68990f3a275edcec184 diff --git a/debian/prerm b/debian/prerm index 5bcb011..4553f2d 100644 --- a/debian/prerm +++ b/debian/prerm @@ -13,11 +13,7 @@ case "$1" in 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 +service ossec-hids stop # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.