add a missing conffile, and add extensions to stuff in the postrms
This commit is contained in:
parent
f762463ecd
commit
5d6de60109
4
debian/nagios-plugins-basic.postrm.in
vendored
4
debian/nagios-plugins-basic.postrm.in
vendored
|
@ -7,9 +7,9 @@ if [ "$1" = "purge" ]; then
|
|||
have_ucf="yes"
|
||||
fi
|
||||
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
|
||||
ucf --purge /etc/nagios-plugins/config/$f
|
||||
ucf --purge /etc/nagios-plugins/config/${f}.cfg
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
4
debian/nagios-plugins-standard.postrm.in
vendored
4
debian/nagios-plugins-standard.postrm.in
vendored
|
@ -7,9 +7,9 @@ if [ "$1" = "purge" ]; then
|
|||
have_ucf="yes"
|
||||
fi
|
||||
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
|
||||
ucf --purge /etc/nagios-plugins/config/$f
|
||||
ucf --purge /etc/nagios-plugins/config/${f}.cfg
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -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 \
|
||||
ssh tcp_udp telnet users
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue