3
if [ "$1" = "purge" ] ; then
5
# source debconf library
6
. /usr/share/debconf/confmodule
8
INIT="/etc/ntop/init.cfg"
10
# parse config file for user
14
if grep -q ^$USER: /etc/passwd; then
15
db_get ntop/createuser
17
if [ "$CREATEUSER" = "true" ]; then
23
# Remove init.cfg file and dir
24
if [ -d /etc/ntop ] ; then
28
if [ -d /var/lib/ntop ] ; then
31
if [ -d /var/log/ntop ] ; then
37
update-rc.d -f ntop remove >/dev/null