浏览代码

changed cat > blah << EOF to cat > blah << "EOF"

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@732 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 年之前
父节点
当前提交
37df015024
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      chapter07/ethnet.xml

+ 1 - 1
chapter07/ethnet.xml

@@ -165,7 +165,7 @@ This creates a sample file ifcfg-eth0:
 
 <literallayout>
 <userinput>cat &gt; /etc/sysconfig/nic-config/ifcfg-eth0
-	&lt;&lt; EOF</userinput>
+	&lt;&lt; "EOF"</userinput>
 ONBOOT=yes
 DEVICE=eth0
 IP=192.168.1.1