diff options
| author | Endi Sukma Dewata <edewata@redhat.com> | 2013-05-20 22:30:38 -0400 |
|---|---|---|
| committer | Endi Sukma Dewata <edewata@redhat.com> | 2013-05-30 12:00:18 -0400 |
| commit | 3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6 (patch) | |
| tree | f99e93afd84bbb0311109a231bd0ae746e5f09ec /base/setup/scripts | |
| parent | 8c4d4ae8466ddc59233b477153e9f7a2355ae37f (diff) | |
| download | pki-3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6.tar.gz pki-3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6.tar.xz pki-3e1b7bd930ceb99a9d2baeb9c69432e75ff3b2c6.zip | |
Renamed PORT and UNSECURE_PORT into PKI_UNSECURE_PORT.
The PORT and UNSECURE_PORT variables in RA and TPS has been renamed
into PKI_UNSECURE_PORT to match the Tomcat-based subsystems.
Diffstat (limited to 'base/setup/scripts')
| -rw-r--r-- | base/setup/scripts/functions | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/base/setup/scripts/functions b/base/setup/scripts/functions index 3f7f9553d..82988fc10 100644 --- a/base/setup/scripts/functions +++ b/base/setup/scripts/functions @@ -329,7 +329,7 @@ get_pki_status_definitions_ra() { # establish well-known strings total_ports=0 - UNSECURE_PORT="" + PKI_UNSECURE_PORT="" CLIENTAUTH_PORT="" NON_CLIENTAUTH_PORT="" @@ -347,11 +347,11 @@ get_pki_status_definitions_ra() # Iterate over Listen statements for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_HTTPD_CONF}`; do - UNSECURE_PORT=$port + PKI_UNSECURE_PORT=$port if [ $total_ports -eq 0 ]; then - echo " Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}" + echo " Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}" else - echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}" + echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}" fi total_ports=`expr ${total_ports} + 1` @@ -359,7 +359,7 @@ get_pki_status_definitions_ra() # Iterate over Listen statements for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_NSS_CONF}`; do - UNSECURE_PORT=$port + PKI_UNSECURE_PORT=$port if [ $total_ports -eq 1 ]; then CLIENTAUTH_PORT=$port echo " Secure Clientauth Port = https://${PKI_SERVER_NAME}:${CLIENTAUTH_PORT}" @@ -379,7 +379,7 @@ get_pki_status_definitions_tps() { # establish well-known strings total_ports=0 - UNSECURE_PORT="" + PKI_UNSECURE_PORT="" CLIENTAUTH_PORT="" NON_CLIENTAUTH_PORT="" @@ -397,14 +397,14 @@ get_pki_status_definitions_tps() # Iterate over Listen statements for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_HTTPD_CONF}`; do - UNSECURE_PORT=$port + PKI_UNSECURE_PORT=$port if [ $total_ports -eq 0 ]; then - echo " Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}/cgi-bin/so/enroll.cgi" + echo " Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}/cgi-bin/so/enroll.cgi" echo " (ESC Security Officer Enrollment)" - echo " Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}/cgi-bin/home/index.cgi" + echo " Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}/cgi-bin/home/index.cgi" echo " (ESC Phone Home)" else - echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${UNSECURE_PORT}" + echo "ERROR: extra Unsecure Port = http://${PKI_SERVER_NAME}:${PKI_UNSECURE_PORT}" fi total_ports=`expr ${total_ports} + 1` @@ -412,7 +412,7 @@ get_pki_status_definitions_tps() # Iterate over Listen statements for port in `sed -n 's/^[ \t]*Listen[ \t][ \t]*\([^ \t][^ \t]*\)/\1/p' ${PKI_NSS_CONF}`; do - UNSECURE_PORT=$port + PKI_UNSECURE_PORT=$port if [ $total_ports -eq 1 ]; then CLIENTAUTH_PORT=$port echo " Secure Clientauth Port = https://${PKI_SERVER_NAME}:${CLIENTAUTH_PORT}/cgi-bin/sow/welcome.cgi" |
