diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-21 23:59:31 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-21 23:59:31 (GMT) |
commit | c9d85b81497f3036db26d3d481108072ba2ac560 (patch) | |
tree | 11fd73c4c6e54d35945424c765381ff1c00a56ec /abs/core-testing/LinHES-config/mv_common.py | |
parent | 1baf8111524169f6d9349223e7764a43e2525a1a (diff) | |
download | linhes_pkgbuild-c9d85b81497f3036db26d3d481108072ba2ac560.zip linhes_pkgbuild-c9d85b81497f3036db26d3d481108072ba2ac560.tar.gz linhes_pkgbuild-c9d85b81497f3036db26d3d481108072ba2ac560.tar.bz2 |
LinHES-config: several minor fixes and finish some functions that slipped through the cracks.
introduce remove_file
fix slave and fe only
finish mysql_network_connection
finish mysql_network
fix ownership for .mythtv ir mv_ir
fix myth_ip to always report the ip even if dhcp is used
Diffstat (limited to 'abs/core-testing/LinHES-config/mv_common.py')
-rwxr-xr-x | abs/core-testing/LinHES-config/mv_common.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core-testing/LinHES-config/mv_common.py b/abs/core-testing/LinHES-config/mv_common.py index 31740c3..da3e25f 100755 --- a/abs/core-testing/LinHES-config/mv_common.py +++ b/abs/core-testing/LinHES-config/mv_common.py @@ -129,6 +129,13 @@ def pacremove(pkg): def getpid(process): return commands.getoutput('pidof %s' % process) +def remove_file(filename): + logging.debug(" Removing %s", filename) + try: + os.remove(filename) + except: + logging.debug("* Could not remove %s", filename) + def restartLCD(RESTART_LCD): if RESTART_LCD : |