add a missing conffile, and add extensions to stuff in the postrms

This commit is contained in:
Sean Finney 2006-09-20 22:09:35 +00:00
parent f762463ecd
commit 5d6de60109
3 changed files with 5 additions and 5 deletions

View file

@ -7,9 +7,9 @@ if [ "$1" = "purge" ]; then
have_ucf="yes" have_ucf="yes"
fi fi
for f in $BASIC_PLUGINS; do for f in $BASIC_PLUGINS; do
rm -f /etc/nagios-plugins/config/$f rm -f /etc/nagios-plugins/config/${f}.cfg
if [ "$have_ucf" = "yes" ]; then if [ "$have_ucf" = "yes" ]; then
ucf --purge /etc/nagios-plugins/config/$f ucf --purge /etc/nagios-plugins/config/${f}.cfg
fi fi
done done
fi fi

View file

@ -7,9 +7,9 @@ if [ "$1" = "purge" ]; then
have_ucf="yes" have_ucf="yes"
fi fi
for f in $STD_PLUGINS; do for f in $STD_PLUGINS; do
rm -f /etc/nagios-plugins/config/$f rm -f /etc/nagios-plugins/config/${f}.cfg
if [ "$have_ucf" = "yes" ]; then if [ "$have_ucf" = "yes" ]; then
ucf --purge /etc/nagios-plugins/config/$f ucf --purge /etc/nagios-plugins/config/${f}.cfg
fi fi
done done
fi fi

2
debian/rules vendored
View file

@ -32,7 +32,7 @@ std_plugins:=check_breeze check_ifoperstatus check_hpjd check_ifstatus \
basic_plugin_cfgs:=apt dhcp disk dummy ftp http load mail ntp ping procs real \ basic_plugin_cfgs:=apt dhcp disk dummy ftp http load mail ntp ping procs real \
ssh tcp_udp telnet users ssh tcp_udp telnet users
std_plugin_cfgs:=breeze disk-smb dns flexlm fping games hppjd ifstatus ldap \ std_plugin_cfgs:=breeze disk-smb dns flexlm fping games hppjd ifstatus ldap \
mrtg mysql netware nt pgsql radius rpc-nfs snmp mrtg mysql netware nt pgsql radius rpc-nfs snmp vsz
PATH = /bin:/sbin:/usr/bin:/usr/sbin PATH = /bin:/sbin:/usr/bin:/usr/sbin