]> git.pld-linux.org Git - packages/calamaris.git/commitdiff
- Cosmetics.
authormkochano <mkochano@pld-linux.org>
Sat, 2 Sep 2000 23:43:08 +0000 (23:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Added missing quotes.

Changed files:
    calamaris-croniface -> 1.5

calamaris-croniface

index b365af744fc590e8eeb09a90fbd3c3f45dea487c..b0822adaa79d9b9ec3f9c9d139d44818ba5f80b5 100644 (file)
 #
 # Author:      Micha³ Kochanowicz <mkochano@pld.org.pl>
 
-# Wrapper for Calamaris. Reads configuration and calls Calamaris with
-# appropriate arguments.
-
 # Default configuration.
 SAVE_FORMAT="HTML"
 SAVE_OWNER="nobody.nobody"
 SAVE_PERM="u=rw,g=r,o=r"
 SEND_FORMAT="plain"
 SEND_TO="root"
+
+# DAILY ---------------------------------------------------------------
 DAILY_ACTION="send"
 DAILY_FILES=
 # If you have an idea of better default setting for this variable you are
 # welcome to change it, but please don't assume that caching proxy is also
 # a http server...
 DAILY_SAVE_AS="/dev/null"
+
+# WEEKLY --------------------------------------------------------------
 WEEKLY_ACTION="send"
 WEEKLY_FILES=
 # See comment above.
 WEEKLY_SAVE_AS="/dev/null"
+
 HTML_LOGO="<H1>Caching Proxy Statistics</H1>"
 CALAMARIS_ARGS="-a"
 
@@ -95,9 +97,9 @@ make_stats() {
 
 
 if [ "$1" = "daily" ]; then
-       make_stats "$DAILY_FILES" "$DAILY_ACTION" $DAILY_SAVE_AS
+       make_stats "$DAILY_FILES" "$DAILY_ACTION" "$DAILY_SAVE_AS"
 elif [ "$1" = "weekly" ]; then
-       make_stats "$WEEKLY_FILES" "$WEEKLY_ACTION" $WEEKLY_SAVE_AS
+       make_stats "$WEEKLY_FILES" "$WEEKLY_ACTION" "$WEEKLY_SAVE_AS"
 else
        echo 'Make up your mind!' >&2
 fi
This page took 0.106351 seconds and 4 git commands to generate.