Fix filename extension in /etc/sysconfig/ifconfig.xxx so that it matches

the IFACE value. Works only with revision 11556 or later of LFS book.
This commit is contained in:
Pierre Labastie 2019-03-10 09:15:10 +00:00
parent 426c618053
commit f5e658dc6c

View file

@ -588,6 +588,9 @@ unset OLD_PKGDIR
<xsl:when test="contains(string(.),'192.168.0.2')"> <xsl:when test="contains(string(.),'192.168.0.2')">
<xsl:value-of select="$ip"/> <xsl:value-of select="$ip"/>
</xsl:when> </xsl:when>
<xsl:when test="contains(string(.),'eth0')">
<xsl:value-of select="$interface"/>
</xsl:when>
<!-- Only adapted to LFS-20170310 and later --> <!-- Only adapted to LFS-20170310 and later -->
<xsl:when test="contains(string(.),'HOSTNAME')"> <xsl:when test="contains(string(.),'HOSTNAME')">
<xsl:value-of select="$hostname"/> <xsl:value-of select="$hostname"/>