From f9d21ed498f5e37e85adc142dfadc69ceeb2f035 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Wed, 4 Jul 2007 13:28:21 +0000 Subject: [PATCH] drop my own scripts --- debian/postinst | 11 ----------- debian/postrm | 6 ------ debian/prerm | 5 ----- 3 files changed, 22 deletions(-) delete mode 100755 debian/postinst delete mode 100755 debian/postrm delete mode 100644 debian/prerm diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index a7c85c1..0000000 --- a/debian/postinst +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -set -e - -if [ -x "/etc/init.d/dns-flood-detector" ]; then - update-rc.d dns-flood-detector defaults 40 >/dev/null - if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then - invoke-rc.d dns-flood-detector start || exit $? - else - /etc/init.d/dns-flood-detector start || exit $? - fi -fi diff --git a/debian/postrm b/debian/postrm deleted file mode 100755 index ea57f84..0000000 --- a/debian/postrm +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -set -e - -if [ "$1" = "purge" ] ; then - update-rc.d dns-flood-detector remove >/dev/null || exit $? -fi diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index 9639f67..0000000 --- a/debian/prerm +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -set -e -# work without debhelper since only kill stops the app (for now) -killall -9 dns-flood-detector -