commit 94f50d6f9194d3c0dd4d3118471ba1f14db3ea61 Author: Peter Palfrader peter@palfrader.org Date: Wed Feb 4 17:16:06 2015 +0100
Clean up comments --- guardfraction_cron.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guardfraction_cron.sh b/guardfraction_cron.sh index d1539cf..cba8552 100755 --- a/guardfraction_cron.sh +++ b/guardfraction_cron.sh @@ -5,11 +5,8 @@ set -e
# This script is run every hour. It gets the latest consensus, imports # it to the database and outputs a guardfraction output file. -# Please edit the definitions below to your liking:
-# Where the consensuses and data are going to be stored - -################################# +##################################################################
GUARDFRACTION_SRC=$(dirname "$0") GUARDFRACTION_SRC=$(readlink -f "$GUARDFRACTION_SRC") @@ -25,6 +22,9 @@ VERBOSE=${VERBOSE:-0}
# You can override any of the above variables in ~/.guardfraction.conf [ -e ~/.guardfraction.conf ] && . ~/.guardfraction.conf + +################################################################## + [ "$VERBOSE" -gt 1 ] && set -x
STATE_DIR="${STATE_DIR:-$GUARDFRACTION_SRC/var}"