Create a jhalfs.config file with the configuration settings to be used as the sbu_du report header.

This commit is contained in:
Manuel Canales Esparcia 2006-04-27 18:14:06 +00:00
parent 249a487d49
commit 0ac490bd8d

View file

@ -468,6 +468,11 @@ fi
if [[ ! -d $LOGDIR ]]; then if [[ ! -d $LOGDIR ]]; then
mkdir $LOGDIR mkdir $LOGDIR
fi fi
# After be sura that all look sane and if REPORT=1, dump the settings to a file
# This file will be used to create the REPORT header
[[ "$REPORT" = "1" ]] && validate_config > $JHALFSDIR/jhalfs.config
>$LOGDIR/$LOG >$LOGDIR/$LOG
get_book get_book