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.
30 lines
1.9 KiB
30 lines
1.9 KiB
#!/bin/bash
|
|
|
|
# Hestia Control Panel upgrade script for target version 1.7.3
|
|
|
|
#######################################################################################
|
|
####### Place additional commands below. #######
|
|
#######################################################################################
|
|
####### upgrade_config_set_value only accepts true or false. #######
|
|
####### #######
|
|
####### Pass through information to the end user in case of a issue or problem #######
|
|
####### #######
|
|
####### Use add_upgrade_message "My message here" to include a message #######
|
|
####### in the upgrade notification email. Example: #######
|
|
####### #######
|
|
####### add_upgrade_message "My message here" #######
|
|
####### #######
|
|
####### You can use \n within the string to create new lines. #######
|
|
#######################################################################################
|
|
|
|
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
|
|
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
|
|
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
|
|
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
|
|
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
|
|
|
|
if grep -q 'drop message = Helo name contains an IP address (HELO was $sender_helo_name) and not is valid' /etc/exim4/exim4.conf.template; then
|
|
echo "[ * ] Update exim4.conf.template ..."
|
|
patch /etc/exim4/exim4.conf.template $HESTIA/install/upgrade/patch/3462-exim-helo-autenticted-users.patch
|
|
fi
|