X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=monit-cn.git;a=blobdiff_plain;f=debian%2Fpostrm;fp=debian%2Fpostrm;h=0000000000000000000000000000000000000000;hp=434672cf19c94f8196562d44e2a0b6b2cc43a055;hb=8d66bcdb842e472697e8cf56b4e0ef7d8031a860;hpb=317af615e8d11786396d3006afc91bfb19dddd69 diff --git a/debian/postrm b/debian/postrm deleted file mode 100755 index 434672c..0000000 --- a/debian/postrm +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -# postrm script for monit-cn -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' overwrit>r> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -case "$1" in - purge) - # continue below - ;; - - *) - exit 0 - ;; -esac - -## import CN-functions -#. /usr/share/carnet-tools/functions.sh -# -## remove us from inittab -#echo "CN: Removing monit service from /etc/inittab" -#cp-update -r monit-cn /etc/inittab -# -## remove us from systemv monit script -#echo "CN: Removing monit workaround from /etc/init.d/monit" -#cp-update -r monit-cn /etc/init.d/monit -#chmod +x /etc/init.d/monit -# -## kill monit -#echo "CN: Stopping monit service" -#pkill -9 -f /usr/bin/monit || true -# -## reload init -#telinit q - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0