diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-01 21:49:10 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-01 21:49:10 +0000 |
commit | 90e3cb3f0e14cadecc0edf2b6de96ee432bc60de (patch) | |
tree | abdbfa8e4dbf97a986c0469999b15df80cceadfe /chapter07 | |
parent | c288d971d11a78cde87a5f4c0583ab9a43fbfeba (diff) |
Replacing several <userinput> tags by <command>.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3203 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/sysklogd.xml | 12 | ||||
-rw-r--r-- | chapter07/usage.xml | 30 |
2 files changed, 21 insertions, 21 deletions
diff --git a/chapter07/sysklogd.xml b/chapter07/sysklogd.xml index dd8f3dfc7..4c1b02af0 100644 --- a/chapter07/sysklogd.xml +++ b/chapter07/sysklogd.xml @@ -3,12 +3,12 @@ <?dbhtml filename="sysklogd.html" dir="chapter07"?> <para>The <filename>sysklogd</filename> script invokes the -<userinput>syslogd</userinput> program with the <emphasis>-m 0</emphasis> -option. This option turns off the periodic timestamp mark that syslogd -writes to the log files every 20 minutes by default. If you want to turn -on this periodic timestamp mark, edit the <filename>sysklogd</filename> -script and make the changes accordingly. See <userinput>man -syslogd</userinput> for more information.</para> +<command>syslogd</command> program with the <emphasis>-m 0</emphasis> option. +This option turns off the periodic timestamp mark that +<command>syslogd</command> writes to the log files every 20 minutes by default. +If you want to turn on this periodic timestamp mark, edit the +<filename>sysklogd</filename> script and make the changes accordingly. See +<userinput>man syslogd</userinput> for more information.</para> </sect1> diff --git a/chapter07/usage.xml b/chapter07/usage.xml index a4609108d..e0810c403 100644 --- a/chapter07/usage.xml +++ b/chapter07/usage.xml @@ -25,21 +25,21 @@ different runlevels as they are often implemented:</para> 5: same as 4, it is usually used for GUI login (like X's xdm or KDE's kdm) 6: reboot the computer</literallayout> -<para>The command used to change runlevels is <userinput>init -<runlevel></userinput> where <runlevel> is -the target runlevel. For example, to reboot the computer, a user would issue -the init 6 command. The reboot command is just an alias, as is the halt -command an alias to init 0.</para> - -<para>There are a number of directories under /etc/rc.d that look like -like rc?.d where ? is the number of the runlevel and rcsysinit.d which -contain a number of symbolic links. Some begin with a K, the others -begin with an S, and all of them have two numbers following the initial -letter. The K means to stop (kill) a service, and the S means to start a -service. The numbers determine the order in which the scripts are run, -from 00 to 99; the lower the number the sooner it gets executed. When init -switches to another runlevel, the appropriate services get killed and -others get started.</para> +<para>The command used to change runlevels is <command>init +<runlevel></command> where <runlevel> is the target runlevel. For +example, to reboot the computer, a user would issue the <command>init +6</command> command. The <command>reboot</command> command is just an alias for +it, as is the <command>halt</command> command an alias for <command>init +0</command>.</para> + +<para>There are a number of directories under <filename>/etc/rc.d</filename> +that look like like rc?.d where ? is the number of the runlevel and rcsysinit.d +which contain a number of symbolic links. Some begin with a K, the others begin +with an S, and all of them have two numbers following the initial letter. The K +means to stop (kill) a service, and the S means to start a service. The numbers +determine the order in which the scripts are run, from 00 to 99; the lower the +number the sooner it gets executed. When init switches to another runlevel, the +appropriate services get killed and others get started.</para> <para>The real scripts are in /etc/rc.d/init.d. They do all the work, and the symlinks all point to them. Killing links and starting links point to |