summaryrefslogtreecommitdiffstats
path: root/scripts/tps-remove.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-05-23 16:35:35 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2013-05-23 16:36:40 -0400
commit3c2b70cb81911d21a7b6004ea7d5dc854e6b2de8 (patch)
treef9ee6cc6dd7559ec097b1dad06cc789611536351 /scripts/tps-remove.sh
parent22e7576e7033a27354f114fdfa66bd3fb68e504b (diff)
downloadpki-dev-3c2b70cb81911d21a7b6004ea7d5dc854e6b2de8.tar.gz
pki-dev-3c2b70cb81911d21a7b6004ea7d5dc854e6b2de8.tar.xz
pki-dev-3c2b70cb81911d21a7b6004ea7d5dc854e6b2de8.zip
Added TPS scripts.
Diffstat (limited to 'scripts/tps-remove.sh')
-rwxr-xr-xscripts/tps-remove.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/scripts/tps-remove.sh b/scripts/tps-remove.sh
index 8d6848d..62432bb 100755
--- a/scripts/tps-remove.sh
+++ b/scripts/tps-remove.sh
@@ -1,8 +1,13 @@
#!/bin/sh -x
-. ./tps-include.sh
+SRC_DIR=`cd ../.. ; pwd`
+INSTANCE_NAME=tps-master
-pkiremove -pki_instance_root=$INSTANCE_ROOT \
- -pki_instance_name=$TPS_INSTANCE_NAME \
- -force \
- -verbose
+pkidestroy -v -s TPS -i $INSTANCE_NAME
+
+#. ./tps-include.sh
+
+#pkiremove -pki_instance_root=$INSTANCE_ROOT \
+# -pki_instance_name=$TPS_INSTANCE_NAME \
+# -force \
+# -verbose