You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							671 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							671 B
						
					
					
				| #!/bin/bash
 | |
| 
 | |
| # Hestia Control Panel upgrade script for target version 1.4.3
 | |
| 
 | |
| #######################################################################################
 | |
| #######                      Place additional commands below.                   #######
 | |
| #######################################################################################
 | |
| 
 | |
| # Improve generate and loading firewall rules
 | |
| if [ "$FIREWALL_SYSTEM" = "iptables" ]; then
 | |
| 	echo "[ * ] Fix the issue of generate firewall rules..."
 | |
| 	$BIN/v-update-firewall
 | |
| fi
 | |
| 
 | |
| # Reset PMA SSO
 | |
| if [ "$PHPMYADMIN_KEY" != "" ]; then
 | |
| 	echo "[ * ] Refressh hestia-sso for PMA..."
 | |
| 	$BIN/v-delete-sys-pma-sso
 | |
| 	$BIN/v-add-sys-pma-sso
 | |
| fi
 |