From 4cd8e971adf3bd2d29109b5ba5d6a144e5f2af7f Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Wed, 20 Jan 2016 10:31:52 -0500
Subject: [PATCH] kind of cleanup
---
install/tpl/dnssec-update.sh.master | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/install/tpl/dnssec-update.sh.master b/install/tpl/dnssec-update.sh.master
index 16c5bc3..5fd0694 100644
--- a/install/tpl/dnssec-update.sh.master
+++ b/install/tpl/dnssec-update.sh.master
@@ -2,10 +2,6 @@
source {dnssec_conffile}
pardomain="${1::-1}"
-echo "$0 $1 $2 $3 $4 results in domain: $pardomain" > /tmp/.last-call-to-dnssec-update
-
-
-
if [ ! -d $backuppath ]; then mkdir -p $backuppath; fi
#connect to database for testing
mysqlcheck=`mysql -u $dbuser --password=$dbpass -h $dbhost -Bse "use $dbase; show tables;" | wc -c`
@@ -15,6 +11,10 @@
exit 0
fi
+if [ ! -f .dsset-$pardomain ] ; then
+ {ispconfig_install_dir}/server/scripts/dnssec-create.sh $pardomain.
+fi
+
mysqlcheck=`mysql -u $dbuser --password=$dbpass -h $dbhost -Bse "use $dbase; select id,serial from dns_soa where active='Y' and origin='$pardomain.';" | awk {' print $1":"$2 '}`
echo $mysqlcheck
zoneid=`echo $mysqlcheck | sed 's/:/ /g' | awk {' print $1 '}`
--
Gitblit v1.9.1