Ignore:
Timestamp:
08/02/2011 02:15:42 AM (13 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a2e555d
Parents:
75fe599
Message:

Rewrite bootscripts and Chaper 7

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9574 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/sysvinit.xml

    r75fe599 r0cda898  
    7575  </sect2>
    7676
    77   <sect2 id="conf-sysvinit" role="configuration">
    78     <title>Configuring Sysvinit</title>
    79 
    80     <indexterm zone="conf-sysvinit">
    81       <primary sortas="a-Sysvinit">Sysvinit</primary>
    82       <secondary>configuring</secondary>
    83     </indexterm>
    84 
    85     <indexterm zone="conf-sysvinit">
    86       <primary sortas="e-/etc/inittab">/etc/inittab</primary>
    87     </indexterm>
    88 
    89     <para>Create a new file <filename>/etc/inittab</filename> by running the
    90     following:</para>
    91 
    92 <screen><userinput>cat &gt; /etc/inittab &lt;&lt; "EOF"
    93 <literal># Begin /etc/inittab
    94 
    95 id:3:initdefault:
    96 
    97 si::sysinit:/etc/rc.d/init.d/rc sysinit
    98 
    99 l0:0:wait:/etc/rc.d/init.d/rc 0
    100 l1:S1:wait:/etc/rc.d/init.d/rc 1
    101 l2:2:wait:/etc/rc.d/init.d/rc 2
    102 l3:3:wait:/etc/rc.d/init.d/rc 3
    103 l4:4:wait:/etc/rc.d/init.d/rc 4
    104 l5:5:wait:/etc/rc.d/init.d/rc 5
    105 l6:6:wait:/etc/rc.d/init.d/rc 6
    106 
    107 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
    108 
    109 su:S016:once:/sbin/sulogin
    110 
    111 1:2345:respawn:/sbin/agetty tty1 9600
    112 2:2345:respawn:/sbin/agetty tty2 9600
    113 3:2345:respawn:/sbin/agetty tty3 9600
    114 4:2345:respawn:/sbin/agetty tty4 9600
    115 5:2345:respawn:/sbin/agetty tty5 9600
    116 6:2345:respawn:/sbin/agetty tty6 9600
    117 
    118 # End /etc/inittab</literal>
    119 EOF</userinput></screen>
    120 
    121   </sect2>
    122 
    12377  <sect2 id="contents-sysvinit" role="content">
    12478    <title>Contents of Sysvinit</title>
Note: See TracChangeset for help on using the changeset viewer.