diff options
-rw-r--r-- | chapter06/config-sysvinit.xml | 18 | ||||
-rw-r--r-- | chapter07/network.xml | 10 |
2 files changed, 13 insertions, 15 deletions
diff --git a/chapter06/config-sysvinit.xml b/chapter06/config-sysvinit.xml index dde9601a0..37cd3a286 100644 --- a/chapter06/config-sysvinit.xml +++ b/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 diff --git a/chapter07/network.xml b/chapter07/network.xml index 69adbb8c6..c7cba5629 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -45,18 +45,16 @@ The following command creates a sample ifconfig.eth0 file:</para> <para><screen><userinput>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "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> |