obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git] / debian / prerm
old mode 100755 (executable)
new mode 100644 (file)
index ae05e73..4553f2d
@@ -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