Changeset 90e3cb3 for chapter07


Ignore:
Timestamp:
02/01/2004 09:49:10 PM (20 years ago)
Author:
Alex Gronenwoud <alex@…>
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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 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, v5_1, v5_1_1, 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:
247acde
Parents:
c288d97
Message:

Replacing several <userinput> tags by <command>.

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

Location:
chapter07
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/sysklogd.xml

    rc288d97 r90e3cb3  
    44
    55<para>The <filename>sysklogd</filename> script invokes the
    6 <userinput>syslogd</userinput> program with the <emphasis>-m 0</emphasis>
    7 option. This option turns off the periodic timestamp mark that syslogd
    8 writes to the log files every 20 minutes by default. If you want to turn
    9 on this periodic timestamp mark, edit the <filename>sysklogd</filename>
    10 script and make the changes accordingly. See <userinput>man
    11 syslogd</userinput> for more information.</para>
     6<command>syslogd</command> program with the <emphasis>-m 0</emphasis> option.
     7This option turns off the periodic timestamp mark that
     8<command>syslogd</command> writes to the log files every 20 minutes by default.
     9If you want to turn on this periodic timestamp mark, edit the
     10<filename>sysklogd</filename> script and make the changes accordingly. See
     11<userinput>man syslogd</userinput> for more information.</para>
    1212
    1313</sect1>
  • chapter07/usage.xml

    rc288d97 r90e3cb3  
    26266: reboot the computer</literallayout>
    2727
    28 <para>The command used to change runlevels is <userinput>init
    29 &lt;runlevel&gt;</userinput> where &lt;runlevel&gt; is
    30 the target runlevel. For example, to reboot the computer, a user would issue
    31 the init 6 command. The reboot command is just an alias, as is the halt
    32 command an alias to init 0.</para>
     28<para>The command used to change runlevels is <command>init
     29&lt;runlevel&gt;</command> where &lt;runlevel&gt; is the target runlevel. For
     30example, to reboot the computer, a user would issue the <command>init
     316</command> command. The <command>reboot</command> command is just an alias for
     32it, as is the <command>halt</command> command an alias for <command>init
     330</command>.</para>
    3334
    34 <para>There are a number of directories under /etc/rc.d that look like
    35 like rc?.d where ? is the number of the runlevel and rcsysinit.d which
    36 contain a number of symbolic links. Some begin with a K, the others
    37 begin with an S, and all of them have two numbers following the initial
    38 letter. The K means to stop (kill) a service, and the S means to start a
    39 service. The numbers determine the order in which the scripts are run,
    40 from 00 to 99; the lower the number the sooner it gets executed. When init
    41 switches to another runlevel, the appropriate services get killed and
    42 others get started.</para>
     35<para>There are a number of directories under <filename>/etc/rc.d</filename>
     36that look like like rc?.d where ? is the number of the runlevel and rcsysinit.d
     37which contain a number of symbolic links. Some begin with a K, the others begin
     38with an S, and all of them have two numbers following the initial letter. The K
     39means to stop (kill) a service, and the S means to start a service. The numbers
     40determine the order in which the scripts are run, from 00 to 99; the lower the
     41number the sooner it gets executed. When init switches to another runlevel, the
     42appropriate services get killed and others get started.</para>
    4343
    4444<para>The real scripts are in /etc/rc.d/init.d. They do all the work, and the
Note: See TracChangeset for help on using the changeset viewer.