r2581 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Apr 27 11:14:06 PDT 2006


Author: manuel
Date: 2006-04-27 12:14:06 -0600 (Thu, 27 Apr 2006)
New Revision: 2581

Modified:
   jhalfs/trunk/master.sh
Log:
Create a jhalfs.config file with the configuration settings to be used as the sbu_du report header.

Modified: jhalfs/trunk/master.sh
===================================================================
--- jhalfs/trunk/master.sh	2006-04-27 18:09:07 UTC (rev 2580)
+++ jhalfs/trunk/master.sh	2006-04-27 18:14:06 UTC (rev 2581)
@@ -468,6 +468,11 @@
 if [[ ! -d $LOGDIR ]]; then
   mkdir $LOGDIR
 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
 
 get_book




More information about the alfs-log mailing list