summaryrefslogtreecommitdiffstats
path: root/base/console/templates
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-06-07 02:23:39 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-06-07 20:08:17 +0200
commit9db838825b60719e6670c92957db3f33c5b12ae0 (patch)
treefa6cae22f6ac7e1cd329548b33b154ff5af67b1b /base/console/templates
parent30fb7bf49ce0f4c726f937b3984a4e27abb39959 (diff)
downloadpki-9db838825b60719e6670c92957db3f33c5b12ae0.tar.gz
pki-9db838825b60719e6670c92957db3f33c5b12ae0.tar.xz
pki-9db838825b60719e6670c92957db3f33c5b12ae0.zip
Cleaned up PKI console options.
Some PKI console options are not actually used or always given a fixed value so they have been removed for clarity. https://pagure.io/dogtagpki/issue/2671 Change-Id: Ia691f90fa949ff07a7215f87385f08036bd71dd1
Diffstat (limited to 'base/console/templates')
-rwxr-xr-xbase/console/templates/pki_console_wrapper23
1 files changed, 1 insertions, 22 deletions
diff --git a/base/console/templates/pki_console_wrapper b/base/console/templates/pki_console_wrapper
index 3ee90bd30..31f7d51e4 100755
--- a/base/console/templates/pki_console_wrapper
+++ b/base/console/templates/pki_console_wrapper
@@ -51,26 +51,6 @@ PRODUCT="pki"
###############################################################################
-## (2) Check for valid usage of this command wrapper. ##
-###############################################################################
-
-usage() {
- echo "Usage: $0 <url>"
- echo
- echo " where <url> is the url to the administration port of your"
- echo " Certificate Subsystem. For example:"
- echo
- echo " https://<hostname>:9445/ca"
- echo
-}
-
-if [ $# -ne 1 ] ; then
- usage
- exit 255
-fi
-
-
-###############################################################################
## (3) Define helper functions. ##
###############################################################################
@@ -162,7 +142,6 @@ ${JAVA} ${JAVA_OPTIONS} \
-Djava.util.prefs.userRoot=/tmp/java \
-Djava.util.logging.config.file=${LOGGING_CONFIG} \
com.netscape.admin.certsrv.Console \
- -s instanceID \
- -a $1
+ "$@"
exit $?