summaryrefslogtreecommitdiffstats
path: root/scripts/tps-check-shared.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-13 19:36:39 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-13 19:36:39 -0500
commitcf7d1ca9b159b4c03595bd6361417c30db89846e (patch)
tree58479439927a3d74a976420a005dad9e45c3aa06 /scripts/tps-check-shared.sh
parent00cd61ef63c907af0782f10f811405ddc46902cf (diff)
downloadpki-dev-cf7d1ca9b159b4c03595bd6361417c30db89846e.tar.gz
pki-dev-cf7d1ca9b159b4c03595bd6361417c30db89846e.tar.xz
pki-dev-cf7d1ca9b159b4c03595bd6361417c30db89846e.zip
Added TPS scripts.
Diffstat (limited to 'scripts/tps-check-shared.sh')
-rwxr-xr-xscripts/tps-check-shared.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tps-check-shared.sh b/scripts/tps-check-shared.sh
new file mode 100755
index 0000000..50ab49e
--- /dev/null
+++ b/scripts/tps-check-shared.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+INSTANCE_DIR=/var/lib/pki-tps
+grep "internal:" $INSTANCE_DIR/conf/password.conf | sed "s/internal://" > $INSTANCE_DIR/conf/internal.txt
+tkstool -L -d $INSTANCE_DIR/alias -f $INSTANCE_DIR/conf/internal.txt