skip manual cert and key path prompting if using Certbot
This commit is contained in:
		
							parent
							
								
									f0008b1d71
								
							
						
					
					
						commit
						c93d5ac9c5
					
				
							
								
								
									
										4
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								setup.sh
									
									
									
									
									
								
							| @ -113,6 +113,8 @@ if [ "${useCertbot}" -eq 1 ]; then | |||||||
|     done |     done | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | # only process manual certificate paths if NOT using Certbot | ||||||
|  | if [ "${useCertbot}" -eq 0 ]; then | ||||||
|     # not using Certbot: get location of certificate |     # not using Certbot: get location of certificate | ||||||
|     while true; do |     while true; do | ||||||
|         read -p "What is the path to your primary SSL certificate? " inputCertPath |         read -p "What is the path to your primary SSL certificate? " inputCertPath | ||||||
| @ -256,7 +258,7 @@ while true; do | |||||||
|                 ;; |                 ;; | ||||||
|         esac |         esac | ||||||
|     done |     done | ||||||
| 
 | fi | ||||||
| 
 | 
 | ||||||
| # debug section | # debug section | ||||||
| echo "Local IP4: $IP4" | echo "Local IP4: $IP4" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user