summaryrefslogtreecommitdiffstats
path: root/pki/base/scripts/pkicheck
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/scripts/pkicheck')
-rwxr-xr-xpki/base/scripts/pkicheck13
1 files changed, 13 insertions, 0 deletions
diff --git a/pki/base/scripts/pkicheck b/pki/base/scripts/pkicheck
new file mode 100755
index 000000000..6722e26bf
--- /dev/null
+++ b/pki/base/scripts/pkicheck
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# This script may ONLY be run on Linux!
+PKI_OS=`uname`
+if [ "${PKI_OS}" != "Linux" ]; then
+ printf "The '$0' script is ONLY executable\n"
+ printf "on a 'Linux' machine!\n"
+ exit 255
+fi
+
+# For now, check for symkey (legacy package)
+rpm -qa | egrep -i pki-\|osutil\|symkey | sort | cat -n
+