Browse Source

fixed bug in regexp. Changed image= to images.*= to allow for "images =" as well

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1694 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 years ago
parent
commit
9ad0f03642
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chapter08/lilo.xml

+ 1 - 1
chapter08/lilo.xml

@@ -42,7 +42,7 @@ the line <userinput>read-only</userinput> should be changed to
 configuration files with the LFS system's:</para>
 
 <para><screen><userinput>cp /etc/lilo.conf $LFS/etc &amp;&amp;
-cp $(grep "image=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot</userinput></screen></para>
+cp $(grep "image.*=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot</userinput></screen></para>
 
 </sect1>