summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/mv_misc.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-21 23:59:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-21 23:59:31 (GMT)
commitc9d85b81497f3036db26d3d481108072ba2ac560 (patch)
tree11fd73c4c6e54d35945424c765381ff1c00a56ec /abs/core-testing/LinHES-config/mv_misc.py
parent1baf8111524169f6d9349223e7764a43e2525a1a (diff)
downloadlinhes_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_misc.py')
-rwxr-xr-xabs/core-testing/LinHES-config/mv_misc.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/abs/core-testing/LinHES-config/mv_misc.py b/abs/core-testing/LinHES-config/mv_misc.py
index c93cd71..9ea9c95 100755
--- a/abs/core-testing/LinHES-config/mv_misc.py
+++ b/abs/core-testing/LinHES-config/mv_misc.py
@@ -30,12 +30,13 @@ def setup_tz(timezone,TEMPLATES):
if not timezone:
timezone="unknown"
logging.info(" Setting timezone to %s",timezone)
- try:
- logging.debug(" Removing /etc/localtime")
- os.remove("/etc/localtime")
- except:
- logging.debug(" Couldn't remove /etc/localtime")
- pass
+ mv_common.remove_file("/etc/localtime")
+ #try:
+ #logging.debug(" Removing /etc/localtime")
+ #os.remove("/etc/localtime")
+ #except:
+ #logging.debug(" Couldn't remove /etc/localtime")
+ #pass
srclink="/usr/share/zoneinfo/%s" %timezone
logging.debug(" symlinking %s to /etc/localtime",srclink)