diff options
| -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): | 
