diff options
-rwxr-xr-x | abs/core-testing/LinHES-config/mv_common.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/core-testing/LinHES-config/mv_common.py b/abs/core-testing/LinHES-config/mv_common.py index 9b33454..abf52c3 100755 --- a/abs/core-testing/LinHES-config/mv_common.py +++ b/abs/core-testing/LinHES-config/mv_common.py @@ -139,9 +139,11 @@ def restartLCD(RESTART_LCD): def reloadfe(dbhost,RESTART_LCD): logging.debug("____Start of reloadfe____") - logging.info(" Clearing Backend cache") - cmd = '''/usr/bin/backend_control.sh clearcache behost %s''' %dbhost - runcmd(cmd) + if data_config.SYSTEMTYPE == "MythVantage": + logging.info(" Clearing Backend cache") + cmd = '''/usr/bin/backend_control.sh clearcache behost %s''' %dbhost + runcmd(cmd) + restartLCD(RESTART_LCD) for pid in getpid("mythfrontend"): cmd = ''' kill -s USR1 %s ''' %pid |