Browse Source

updated to reflect new scripts

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1456 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 years ago
parent
commit
3c8d33932e
2 changed files with 13 additions and 15 deletions
  1. 9 9
      chapter06/config-sysvinit.xml
  2. 4 6
      chapter07/network.xml

+ 9 - 9
chapter06/config-sysvinit.xml

@@ -8,15 +8,15 @@ following:</para>
 
 id:3:initdefault:
 
-si::sysinit:/etc/init.d/rc sysinit
-
-l0:0:wait:/etc/init.d/rc 0
-l1:S1:wait:/etc/init.d/rc 1
-l2:2:wait:/etc/init.d/rc 2
-l3:3:wait:/etc/init.d/rc 3
-l4:4:wait:/etc/init.d/rc 4
-l5:5:wait:/etc/init.d/rc 5
-l6:6:wait:/etc/init.d/rc 6
+si::sysinit:/etc/rc.d/init.d/rc sysinit
+
+l0:0:wait:/etc/rc.d/init.d/rc 0
+l1:S1:wait:/etc/rc.d/init.d/rc 1
+l2:2:wait:/etc/rc.d/init.d/rc 2
+l3:3:wait:/etc/rc.d/init.d/rc 3
+l4:4:wait:/etc/rc.d/init.d/rc 4
+l5:5:wait:/etc/rc.d/init.d/rc 5
+l6:6:wait:/etc/rc.d/init.d/rc 6
 
 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
 

+ 4 - 6
chapter07/network.xml

@@ -45,18 +45,16 @@ The following command creates a sample ifconfig.eth0 file:</para>
 
 <para><screen><userinput>cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0 &lt;&lt; "EOF"</userinput>
 ONBOOT=yes
-DEVICE=eth0
 IP=192.168.1.1
 NETMASK=255.255.255.0
 BROADCAST=192.168.1.255
 <userinput>EOF</userinput></screen></para>
 
 <para>Of course, the values of those variables have to be changed 
-in every file to match the proper setup. Usually NETMASK and BROADCAST
-will remain the same, just the DEVICE and IP variables will change per
-network interface. If the ONBOOT variable is set to yes, the network script
-will bring it up during boot up of the system. If set to anything else but
-yes it will be ignored by the network script and thus not brought up.</para>
+in every file to match the proper setup. If the ONBOOT variable is set
+to yes, the network script will bring it up during boot up of the system.
+If set to anything else but yes it will be ignored by the network script
+and thus not brought up.</para>
 
 </sect2>