Browse Source

Merge pull request #1746 from jakesmith/legacythor

Generate option for legacy Thor

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 years ago
parent
commit
3e5c3e2873
1 changed files with 8 additions and 1 deletions
  1. 8 1
      initfiles/componentfiles/configxml/setvars_linux.xsl

+ 8 - 1
initfiles/componentfiles/configxml/setvars_linux.xsl

@@ -115,7 +115,14 @@ export autoSwapNode=<xsl:choose>
            <xsl:when test="SwapNode/@AutoSwapNode='1'">1</xsl:when>
            <xsl:otherwise>0</xsl:otherwise>
             </xsl:choose>
-export LCR=_lcr
+<xsl:choose>
+  <xsl:when test="string(@Legacy) != ''">
+    export LCR=
+  </xsl:when>
+  <xsl:otherwise>
+    export LCR=_lcr
+  </xsl:otherwise>
+</xsl:choose>
 <xsl:if test="string(SSH/@SSHidentityfile) != ''">
 export SSHidentityfile=<xsl:value-of select="SSH/@SSHidentityfile"/>
 </xsl:if>