diff -r a1eefce2bd5e -r c45415af9a4b dnssec-lskey --- a/dnssec-lskey Wed Jun 30 13:15:11 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#!/bin/bash -source ./dnstools.conf - -master_dir=$MASTER_DIR -zsklive=$ZSKLIVE # ZSK-Schluessellebensdauer in Tagen -ksklive=$KSKLIVE # KSK-Schluessellebensdauer in Tagen - - -for domain in $master_dir/* -do - - start_time=`ls $domain/index.zsk -l --time-style=+%s | cut -d' ' -f6` - z_end_time=$[start_time + $[zsklive * 86400]] - echo ${domain##/*/} index.zsk `date -d @$z_end_time +%d.%m.%Y` | tr ' ' '\t' - - start_time=`ls $domain/index.ksk -l --time-style=+%s | cut -d' ' -f6` - k_end_time=$[start_time + $[ksklive * 86400]] - echo ${domain##/*/} index.ksk `date -d @$k_end_time +%d.%m.%Y` | tr ' ' '\t' -done - - - #echo Ablauf $INDEX `date -d @$ENDTIME +%Y%m%d000000` -