dns-flood-detector/postinst

12 lines
286 B
Plaintext
Raw Normal View History

2008-03-26 00:53:54 +00:00
#!/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