X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=0000000000000000000000000000000000000000;hp=126ed0745e21ad40a0fbcb33194458e7c8c8ea8b;hb=8ee9e0bd938ab23afa18a95d7ec8e8da770c63de;hpb=ae776b1091bfdea4e2764ccb2652471ee5c9ce00 diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 126ed07..0000000 --- a/debian/postinst +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# postinst script for prometheus -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - - /etc/prometheus/check-kernel-qos - - if [ -x "/etc/init.d/prometheus" ]; then - update-rc.d prometheus defaults 40 >/dev/null - /etc/init.d/prometheus restart - fi - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - -