drop my own scripts
This commit is contained in:
parent
1da26f2cb0
commit
f9d21ed498
11
debian/postinst
vendored
11
debian/postinst
vendored
|
@ -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
|
|
6
debian/postrm
vendored
6
debian/postrm
vendored
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$1" = "purge" ] ; then
|
|
||||||
update-rc.d dns-flood-detector remove >/dev/null || exit $?
|
|
||||||
fi
|
|
5
debian/prerm
vendored
5
debian/prerm
vendored
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
# work without debhelper since only kill stops the app (for now)
|
|
||||||
killall -9 dns-flood-detector
|
|
||||||
|
|
Loading…
Reference in a new issue