Author: pierre
Date: Sun Mar 10 01:15:10 2019
New Revision: 4081

Log:
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.

Modified:
   jhalfs/trunk/LFS/lfs.xsl

Modified: jhalfs/trunk/LFS/lfs.xsl
==============================================================================
--- jhalfs/trunk/LFS/lfs.xsl    Sat Mar  9 12:27:44 2019        (r4080)
+++ jhalfs/trunk/LFS/lfs.xsl    Sun Mar 10 01:15:10 2019        (r4081)
@@ -588,6 +588,9 @@
       <xsl:when test="contains(string(.),'192.168.0.2')">
         <xsl:value-of select="$ip"/>
       </xsl:when>
+      <xsl:when test="contains(string(.),'eth0')">
+        <xsl:value-of select="$interface"/>
+      </xsl:when>
 <!-- Only adapted to LFS-20170310 and later -->
       <xsl:when test="contains(string(.),'HOSTNAME')">
         <xsl:value-of select="$hostname"/>
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to