first stab at ucf-izing the plugin configs

This commit is contained in:
Sean Finney 2006-09-20 21:28:35 +00:00
parent 70c0368c56
commit 1bc469da67
7 changed files with 86 additions and 13 deletions

12
debian/nagios-plugins-standard.postinst vendored Normal file
View 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#