Changeset 5af9ab4 for LFS/lfs.xsl
- Timestamp:
- 03/09/2019 07:18:52 AM (6 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 90f5b6d
- Parents:
- d39252b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
rd39252b r5af9ab4 696 696 <xsl:param name="netstring" select="''"/> 697 697 <!-- We suppose that book example has the following values: 698 - interface: eth0698 - interface: <network-device-name> 699 699 - ip: 192.168.0.2 700 700 - gateway: 192.168.0.1 … … 704 704 and gateway comes before DNS. Change below if book changes --> 705 705 <xsl:choose> 706 <xsl:when test="contains($netstring,' eth0')">707 <xsl:call-template name="outputsysdnet"> 708 <xsl:with-param name="netstring" 709 select="substring-before($netstring,' eth0')"/>706 <xsl:when test="contains($netstring,'<network-device-name>')"> 707 <xsl:call-template name="outputsysdnet"> 708 <xsl:with-param name="netstring" 709 select="substring-before($netstring,'<network-device-name>')"/> 710 710 </xsl:call-template> 711 711 <xsl:value-of select="$interface"/> 712 712 <xsl:call-template name="outputsysdnet"> 713 713 <xsl:with-param name="netstring" 714 select="substring-after($netstring,' eth0')"/>714 select="substring-after($netstring,'<network-device-name>')"/> 715 715 </xsl:call-template> 716 716 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.