diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-12-28 03:52:38 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2017-12-28 03:52:38 +0000 |
commit | 0d84af1cbb0dc825db3e965d5126e5b08f878067 (patch) | |
tree | 46feb76bec2b74f6ee78baa2ea65ea70ca6a8941 /chapter07 | |
parent | 9fde3e965f7c86afb36186ec44167192a74b0d7a (diff) |
Typos and wording changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11343 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/clock.xml | 4 | ||||
-rw-r--r-- | chapter07/consoled.xml | 6 | ||||
-rw-r--r-- | chapter07/inputrc.xml | 2 | ||||
-rw-r--r-- | chapter07/locale.xml | 10 | ||||
-rw-r--r-- | chapter07/systemd-custom.xml | 28 | ||||
-rw-r--r-- | chapter07/udev.xml | 13 |
6 files changed, 32 insertions, 31 deletions
diff --git a/chapter07/clock.xml b/chapter07/clock.xml index f5e710ebe..7e6a91610 100644 --- a/chapter07/clock.xml +++ b/chapter07/clock.xml @@ -65,11 +65,11 @@ EOF</userinput></screen> <screen role="nodump"><userinput>timedatectl set-timezone TIMEZONE</userinput></screen> - <para>You can get list of available time zones by running:</para> + <para>You can get a list of available time zones by running:</para> <screen role="nodump"><userinput>timedatectl list-timezones</userinput></screen> - <note><para>Please note that <command>timedatectl</command> command can + <note><para>Please note that the <command>timedatectl</command> command can be used only on a system booted with systemd.</para></note> <sect2> diff --git a/chapter07/consoled.xml b/chapter07/consoled.xml index f9d2ea0d5..c1bbf649e 100644 --- a/chapter07/consoled.xml +++ b/chapter07/consoled.xml @@ -86,8 +86,8 @@ EOF</userinput></screen> <screen role="nodump"><userinput>localectl set-keymap MAP</userinput></screen> - <note><para>Please note that <command>localectl</command> command can - be used only on a system booted with systemd.</para></note> + <note><para>Please note that the <command>localectl</command> command can + be used only on a system booted with systemd.</para></note> <para>You can also use <command>localectl</command> utility with the corresponding parameters to change X11 keyboard layout, model, variant @@ -131,7 +131,7 @@ EOF</userinput></screen> </variablelist> - <note><para>Using any of the parameters listed above requires + <note><para>Using any of the parameters listed above requires the XKeyboard Config package from BLFS.</para></note> </sect1> diff --git a/chapter07/inputrc.xml b/chapter07/inputrc.xml index 0c11c8bde..1be3e0958 100644 --- a/chapter07/inputrc.xml +++ b/chapter07/inputrc.xml @@ -15,7 +15,7 @@ </indexterm> <para>The <filename>inputrc</filename> file is the configuration file for - Readline library, which provides editing capabilities while the user is + then Readline library, which provides editing capabilities while the user is entering a line from the terminal. It works by tranlating keyboard inputs into specific actions. Readline is used by Bash and most other shells as well as many other applications.</para> diff --git a/chapter07/locale.xml b/chapter07/locale.xml index 3e6c2aa7a..b70f6d36b 100644 --- a/chapter07/locale.xml +++ b/chapter07/locale.xml @@ -118,9 +118,9 @@ LC_ALL=<locale name> locale int_prefix</userinput></screen> <literal>LANG=<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable></literal> EOF</userinput></screen> - <para>Note that you can modify <filename>/etc/locale.conf</filename> with - systemd <command>localectl</command> utility. To use <command>localectl</command> - for the example above, run:</para> + <para>Note that you can modify <filename>/etc/locale.conf</filename> with the + systemd <command>localectl</command> utility. To use + <command>localectl</command> for the example above, run:</para> <screen role="nodump"><userinput>localectl set-locale LANG="<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable>"</userinput></screen> @@ -132,8 +132,8 @@ EOF</userinput></screen> <screen role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen> - <note><para>Please note that <command>localectl</command> command can - be used only on a system booted with systemd.</para></note> + <note><para>Please note that the <command>localectl</command> command can + be used only on a system booted with systemd.</para></note> <para>The <quote>C</quote> (default) and <quote>en_US</quote> (the recommended one for United States English users) locales are different. <quote>C</quote> diff --git a/chapter07/systemd-custom.xml b/chapter07/systemd-custom.xml index 31f518ff2..8bf66999f 100644 --- a/chapter07/systemd-custom.xml +++ b/chapter07/systemd-custom.xml @@ -21,8 +21,8 @@ of options to control basic systemd operations. The default file has all entries commented out with the default settings indicated. This file is where the log level may be changed as well as some basic logging settings. - See <filename>systemd-system.conf(5)</filename> manual page for details on - each configuration option.</para> + See the <filename>systemd-system.conf(5)</filename> manual page for details + on each configuration option.</para> </sect2> @@ -212,21 +212,21 @@ EOF</userinput></screen> <sect2> <title>Long Running Processes</title> - <para>Beginning with systemd-230, all user processes are killed when a - user session is ended, even if nohup is used, or the process uses - <function>daemon()</function> or <function>setsid()</function>. This is a - deliberate change from a historically permissive environment to a more - restrictive one. The new behavior may cause issues if you depend on long - running programs (e.g., <command>screen</command> or - <command>tmux</command>) to remain active after ending your user - session. There are three ways to enable lingering processes to remain after - a user session is ended.</para> + <para>Beginning with systemd-230, all user processes are killed when a user + session is ended, even if nohup is used, or the process uses the + <function>daemon()</function> or <function>setsid()</function> functions. + This is a deliberate change from a historically permissive environment to a + more restrictive one. The new behavior may cause issues if you depend on + long running programs (e.g., <command>screen</command> or + <command>tmux</command>) to remain active after ending your user session. + There are three ways to enable lingering processes to remain after a user + session is ended.</para> <itemizedlist> <listitem> <para> - <emphasis>Enable process lingering for only needed users</emphasis>: - normal users have permission to enable process lingering + <emphasis>Enable process lingering for only selected users</emphasis>: + Normal users have permission to enable process lingering with the command <command>loginctl enable-linger</command> for their own user. System administrators can use the same command with a <parameter>user</parameter> argument to enable for a user. That user @@ -244,7 +244,7 @@ EOF</userinput></screen> <listitem> <para> <emphasis>Enable system-wide process lingering</emphasis>: - you can set <parameter>KillUserProcesses=no</parameter> in + You can set <parameter>KillUserProcesses=no</parameter> in <filename>/etc/logind.conf</filename> to enable process lingering globally for all users. This has the benefit of leaving the old method available to all users at the expense of explicit control. diff --git a/chapter07/udev.xml b/chapter07/udev.xml index 9a18bc7ef..d3bbd85fb 100644 --- a/chapter07/udev.xml +++ b/chapter07/udev.xml @@ -209,12 +209,13 @@ <title>A kernel module is not loaded automatically, and Udev is not intended to load it</title> - <para>If the <quote>wrapper</quote> module only enhances the functionality - provided by some other module (e.g., <emphasis>snd-pcm-oss</emphasis> - enhances the functionality of <emphasis>snd-pcm</emphasis> by making the - sound cards available to OSS applications), configure - <command>modprobe</command> to load the wrapper after Udev loads the - wrapped module. To do this, add a <quote>softdep</quote> line in any + <para>If the <quote>wrapper</quote> module only enhances the + functionality provided by some other module (e.g., + <emphasis>snd-pcm-oss</emphasis> enhances the functionality of + <emphasis>snd-pcm</emphasis> by making the sound cards available to OSS + applications), configure <command>modprobe</command> to load the wrapper + after Udev loads the wrapped module. To do this, add a + <quote>softdep</quote> line to the corresponding <filename>/etc/modprobe.d/<replaceable><filename></replaceable>.conf</filename> file. For example:</para> |