diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 9a66c681e..9da9b6c0e 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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.")