diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-21 19:10:03 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-21 19:10:03 (GMT) |
commit | ade6f1d7bf16c77c1da1a0497a6cbc073b933c58 (patch) | |
tree | cc37594f66bee03189e7dc5394f37cb26de296a0 /abs/core/LinHES-config | |
parent | 77516219b39e7e26b5e1056eb9cc09499c28b032 (diff) | |
download | linhes_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/core/LinHES-config')
-rwxr-xr-x | abs/core/LinHES-config/mv_misc.py | 7 |
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): |