mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
updated to reflect new scripts
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1456 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
e3c61dacd4
commit
3c8d33932e
@ -8,15 +8,15 @@ following:</para>
|
||||
|
||||
id:3:initdefault:
|
||||
|
||||
si::sysinit:/etc/init.d/rc sysinit
|
||||
si::sysinit:/etc/rc.d/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
|
||||
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
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user