forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1.4.3.sh
More file actions
20 lines (16 loc) · 671 Bytes
/
1.4.3.sh
File metadata and controls
20 lines (16 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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