bug fix: disable upgrading imunify until the issue is resolved at their end
This commit is contained in:
parent
12c245e5a8
commit
7427667c14
|
|
@ -2851,23 +2851,25 @@ vmail
|
|||
Upgrade.installCLScripts()
|
||||
Upgrade.runSomeImportantBash()
|
||||
|
||||
## Move static files
|
||||
# ## Move static files
|
||||
#
|
||||
# imunifyPath = '/usr/local/CyberCP/public/imunify'
|
||||
#
|
||||
# if os.path.exists(imunifyPath):
|
||||
# command = "yum reinstall imunify360-firewall-generic -y"
|
||||
# Upgrade.executioner(command, command, 1)
|
||||
#
|
||||
# imunifyAVPath = '/etc/sysconfig/imunify360/integration.conf'
|
||||
#
|
||||
# if os.path.exists(imunifyAVPath):
|
||||
# execPath = "/usr/local/CyberCP/bin/python /usr/local/CyberCP/CLManager/CageFS.py"
|
||||
# command = execPath + " --function submitinstallImunifyAV"
|
||||
# Upgrade.executioner(command, command, 1)
|
||||
#
|
||||
# command = 'chmod +x /usr/local/CyberCP/public/imunifyav/bin/execute.py'
|
||||
# Upgrade.executioner(command, command, 1)
|
||||
|
||||
imunifyPath = '/usr/local/CyberCP/public/imunify'
|
||||
|
||||
if os.path.exists(imunifyPath):
|
||||
command = "yum reinstall imunify360-firewall-generic -y"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
imunifyAVPath = '/etc/sysconfig/imunify360/integration.conf'
|
||||
|
||||
if os.path.exists(imunifyAVPath):
|
||||
execPath = "/usr/local/CyberCP/bin/python /usr/local/CyberCP/CLManager/CageFS.py"
|
||||
command = execPath + " --function submitinstallImunifyAV"
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
command = 'chmod +x /usr/local/CyberCP/public/imunifyav/bin/execute.py'
|
||||
Upgrade.executioner(command, command, 1)
|
||||
|
||||
|
||||
Upgrade.stdOut("Upgrade Completed.")
|
||||
|
|
|
|||
Loading…
Reference in New Issue