Current Path : /usr/share/nagios-plugins/dpkg/ |
Current File : //usr/share/nagios-plugins/dpkg/functions |
# functions for use by nagios plugins maintainer scripts npconfdir=/etc/nagios-plugins/config # we now register all n-p config files via ucf. register_cfgs(){ # do this in a subshell so we don't screw up cwd ( cd $templdir for f in *cfg; do dest=${npconfdir}/$f ucf $f $dest done ); }