Create a jhalfs.config file with the configuration settings to be used as the sbu_du report header.
This commit is contained in:
parent
249a487d49
commit
0ac490bd8d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue