From 3c8d33932ecc12b50e6a97d6a081620281be600d Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 16 Jan 2002 00:04:57 +0000 Subject: updated to reflect new scripts git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1456 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/config-sysvinit.xml | 18 +++++++++--------- 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: 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: cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF" ONBOOT=yes -DEVICE=eth0 IP=192.168.1.1 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 EOF 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. +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. -- cgit v1.2.3-54-g00ecf