summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-21 19:10:03 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-21 19:10:03 (GMT)
commitade6f1d7bf16c77c1da1a0497a6cbc073b933c58 (patch)
treecc37594f66bee03189e7dc5394f37cb26de296a0 /abs
parent77516219b39e7e26b5e1056eb9cc09499c28b032 (diff)
downloadlinhes_pkgbuild-ade6f1d7bf16c77c1da1a0497a6cbc073b933c58.zip
linhes_pkgbuild-ade6f1d7bf16c77c1da1a0497a6cbc073b933c58.tar.gz
linhes_pkgbuild-ade6f1d7bf16c77c1da1a0497a6cbc073b933c58.tar.bz2
LinHES-config: mv_misc remove references to rc.conf
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/LinHES-config/mv_misc.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/LinHES-config/mv_misc.py b/abs/core/LinHES-config/mv_misc.py
index 0cbf872..587295f 100755
--- a/abs/core/LinHES-config/mv_misc.py
+++ b/abs/core/LinHES-config/mv_misc.py
@@ -44,15 +44,16 @@ def setup_tz(timezone,TEMPLATES):
os.symlink(srclink,"/etc/localtime")
except:
logging.critical(" Couldn't make symlink for /etc/localtime")
- cmd = '''sed -e "s/^TIMEZONE=.*$/TIMEZONE=\\"%s\\" /" /etc/rc.conf > $TEMPLATES/rc.conf''' %re.escape(timezone)
- mv_common.runcmd(cmd)
+
+ #cmd = '''sed -e "s/^TIMEZONE=.*$/TIMEZONE=\\"%s\\" /" /etc/rc.conf > $TEMPLATES/rc.conf''' %re.escape(timezone)
+ #mv_common.runcmd(cmd)
if os.path.exists("/etc/php/php.ini"):
logging.info(" Changing timezone for php")
cmd = '''sed -i "s/^.*date.timezone.*$/date.timezone=%s/" ${BASE}/etc/php/php.ini''' %re.escape(timezone)
mv_common.runcmd(cmd)
- mv_common.cp_and_log(TEMPLATES+"/rc.conf","/etc/rc.conf")
+ #mv_common.cp_and_log(TEMPLATES+"/rc.conf","/etc/rc.conf")
logging.info("__End of timezone\n")
def setup_nfs(systemconfig):