]> git.pld-linux.org Git - packages/awffull.git/blobdiff - awffull.cron
- builds, works
[packages/awffull.git] / awffull.cron
index e5d272fac2e1f8502f31cf563718ee9a1bb3c087..4455e1f841aa9c5d0bf8f34b6b8ea808fbdcb305 100644 (file)
@@ -10,10 +10,10 @@ if [ -n "$ENABLE" ] && [ "$ENABLE" = "yes" -o "$ENABLE" = "YES" ]; then
        export LANG
        export LC_ALL
        
-       if [ -n "$REALLY_QUIET" ] && [ "$REALLY_QUIET" = "yes" -o "$REALLY_QUIET" = "YES" ]; then
-               AWFFULL_OPTS="-Q"
-       elif [ -n "$QUIET" ] && [ "$QUIET" = "yes" -o "$QUIET" = "YES" ]; then
+       if [ -n "$QUIET" ] && [ "$QUIET" = "yes" -o "$QUIET" = "YES" ]; then
                AWFFULL_OPTS="-q"
+       elif [ -n "$REALLY_QUIET" ] && [ "$REALLY_QUIET" = "yes" -o "$REALLY_QUIET" = "YES" ]; then
+               AWFFULL_OPTS="-Q"
        fi
        
        if [ -n "$MULTIPLE" ] && [ "$MULTIPLE" = "yes" -o "$MULTIPLE" = "YES" ]; then
@@ -29,6 +29,7 @@ if [ -n "$ENABLE" ] && [ "$ENABLE" = "yes" -o "$ENABLE" = "YES" ]; then
                        TMPCONFIG=`mktemp -q /var/lib/dnshistory/awffull_config.XXXXXX`
                        LOGFILE=`grep ^LogFile ${singleconfig} | awk '{ print $2;}'`
                        grep -v ^LogFile ${singleconfig} > ${TMPCONFIG}
+                       dnshistory -f ${LOGFILE}
                        dnshistory -T -f ${LOGFILE} | awffull ${AWFFULL_OPTS} -c ${TMPCONFIG} - ;
                        rm -f ${TMPCONFIG}
                else
This page took 0.200456 seconds and 4 git commands to generate.