add comment

This commit is contained in:
Jan Wagner 2007-07-05 08:55:54 +00:00
parent d968fc0265
commit 3a2ebd01ea

1
debian/prerm vendored
View file

@ -1,6 +1,7 @@
#!/bin/sh
set -e
# generate correct pid file, for versions where was non or incorrect
if [ "$1" = "upgrade" ] && [ "$2" ] && dpkg --compare-versions "$2" <= "1.12-1"; then
ps aux | grep /usr/bin/dns-flood-detector | head -1 | awk '{ print $2 }' > /var/run/dns-flood-detector.pid
fi