From c5545e3c459b90aa6e8ac57ab1affc6fde24b310 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 23 Jul 2008 11:31:01 +0200 Subject: [PATCH] continue check script Signed-off-by: Nico Schottelius --- tools/ccollect_check_config.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tools/ccollect_check_config.sh b/tools/ccollect_check_config.sh index ac7fa2c..c24a400 100644 --- a/tools/ccollect_check_config.sh +++ b/tools/ccollect_check_config.sh @@ -24,3 +24,17 @@ __pwd="$(pwd -P)" __mydir="${0%/*}"; __abs_mydir="$(cd "$__mydir" && pwd -P)" __myname=${0##*/}; __abs_myname="$__abs_mydir/$__myname" + +################################################################################ +# ccollect standard vars +CCOLLECT_CONF="${CCOLLECT_CONF:-/etc/ccollect}" +CDEFAULTS="${CCOLLECT_CONF}/defaults" +CLOGDIR="${CDEFAULTS}/logdir" +CRONTAB="${CRONTAB:-/etc/crontab}" + +# Parameters: +# -c, --crontab +# -f, --fix +# -l, --logs + +