SOURCES: awffull.cron - release 2 - should work with dnshistory now.
blues
blues at pld-linux.org
Fri Jun 30 13:26:20 CEST 2006
Author: blues Date: Fri Jun 30 11:26:20 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- release 2 - should work with dnshistory now.
---- Files affected:
SOURCES:
awffull.cron (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/awffull.cron
diff -u SOURCES/awffull.cron:1.2 SOURCES/awffull.cron:1.3
--- SOURCES/awffull.cron:1.2 Wed Jun 28 00:39:43 2006
+++ SOURCES/awffull.cron Fri Jun 30 13:26:15 2006
@@ -26,8 +26,11 @@
fi
for singleconfig in ${CONFIG_LIST}; do
if [ -n "${USE_DNSHISTORY}" ] && [ "${USE_DNSHISTORY}" = "yes" -o "${USE_DNSHISTORY}" = "YES" ]; then
+ TMPCONFIG=`mktemp -q /var/lib/dnshistory.XXXXXX`
LOGFILE=`grep ^LogFile ${singleconfig} | awk '{ print $2;}'`
- dnshistory -T -f ${LOGFILE} | awffull ${AWFFULL_OPTS} -c ${singleconfig} - ;
+ grep ^LogFile ${singleconfig} > ${TMPCONFIG}
+ dnshistory -T -f ${LOGFILE} | awffull ${AWFFULL_OPTS} -c ${TMPCONFIG} - ;
+ rm -f ${TMPCONFIG}
else
awffull ${AWFFULL_OPTS} -c ${singleconfig};
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/awffull.cron?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list