first stab at ucf-izing the plugin configs
This commit is contained in:
parent
70c0368c56
commit
1bc469da67
7 changed files with 86 additions and 13 deletions
12
debian/nagios-plugins-standard.postinst
vendored
Normal file
12
debian/nagios-plugins-standard.postinst
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
(
|
||||
cd /usr/share/nagios-plugins/templates-standard
|
||||
for f in *cfg; do
|
||||
ucf $f /etc/nagios-plugins/config/$f
|
||||
done
|
||||
);
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
Loading…
Add table
Add a link
Reference in a new issue