nagios4/debian/nagios3-cgi.postrm
2017-05-19 22:22:41 +02:00

21 lines
324 B
Bash

#!/bin/sh -e
# some shorthands for sanity
en="/etc/nagios3"
enc="/etc/nagios3/conf.d"
usn="/usr/share/nagios3"
case "$1" in
remove)
;;
purge)
rm -f /etc/nagios3/htpasswd.users
rm -f /etc/nagios3/apache2.conf
if which ucf >/dev/null 2>&1; then
ucf --purge /etc/nagios3/apache2.conf
fi
;;
esac
#DEBHELPER#