diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-08 03:13:21 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-08 03:13:21 (GMT) |
commit | 518f401ed1ae621beac798067808cc99565b3c5c (patch) | |
tree | 4d9ad041ed1602699d90fe3320d63a2de40cfc57 | |
parent | 7f46797688f60b4f4669e232a946987e3ece1580 (diff) | |
download | linhes_pkgbuild-518f401ed1ae621beac798067808cc99565b3c5c.zip linhes_pkgbuild-518f401ed1ae621beac798067808cc99565b3c5c.tar.gz linhes_pkgbuild-518f401ed1ae621beac798067808cc99565b3c5c.tar.bz2 |
blah
-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 |