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:
parent
426c618053
commit
f5e658dc6c
1 changed files with 3 additions and 0 deletions
|
@ -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"/>
|
||||||
|
|
Reference in a new issue