X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=debian%2Fprerm;h=4553f2d8774c8d3e3bc753d1f9c0a13d8b5ffd5d;hp=ae05e73ae7a943c96a215314953b4561d73b8839;hb=HEAD;hpb=1f05bc53303e823057455f8a6a408f2eee96576b diff --git a/debian/prerm b/debian/prerm old mode 100755 new mode 100644 index ae05e73..4553f2d --- a/debian/prerm +++ b/debian/prerm @@ -13,13 +13,11 @@ 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 -# update system v init links -update-rc.d -f ossec-hids remove +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# exit 0