mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c679424d17
WMI client 1.3.16 - a WMI (Windows Management Instrumentation) client which is needed for Pandora FMS. Submitted by: KIKUCHI Koichiro <koichiro@rworks.jp> Junichi Satoh <junichi@junichi.org> WWW; http://pandorafms.org/ Feature safe: yes
29 lines
481 B
Bash
29 lines
481 B
Bash
#! /bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# Run the Pandora FMS database maintenace script.
|
|
#
|
|
|
|
# If there is a global system configuration file, suck it in.
|
|
#
|
|
if [ -r /etc/defaults/periodic.conf ]; then
|
|
. /etc/defaults/periodic.conf
|
|
source_periodic_confs
|
|
fi
|
|
|
|
rc=0
|
|
|
|
case "$daily_clean_pandoradb_enable" in
|
|
[Nn][Oo])
|
|
;;
|
|
*)
|
|
echo ""
|
|
echo "Running Pandora FMS DB maintenace script:"
|
|
|
|
%%PERL%% %%DATADIR%%/util/pandora_db.pl %%ETCDIR%%/pandora_server.conf || rc=3
|
|
;;
|
|
esac
|
|
|
|
exit $rc
|