Commit 2620c8e6 authored by Bruno Ribas's avatar Bruno Ribas Reads GENERATESUMMARY variable to decide to generate summary

Variable GENERATESUMMARY is created to allow the administrador decide if
summary must be or not generated, default is 'false' and can be overwriten
at wwwsdi.conf
Signed-off-by: default avatarBruno Ribas <>
parent b6809ff3
......@@ -28,6 +28,7 @@ test -f $PREFIX/wwwsdi.conf && source $PREFIX/wwwsdi.conf
: ${WWWDIR:=$PREFIX/www}
: ${DATADIR:=$PREFIX/coleta}
: ${TABLEATTRIBUTES:="border=\"1\""}
#Global variable, to avoid multiple generation of names
......@@ -46,7 +47,7 @@ main()
#printf "Waiting Generations"
wait $(jobs -p)
bash generatesumary
test "$GENERATESUMMARY" == "true" && bash generatesumary
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment