diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-02-20 13:59:14 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-02-20 13:59:14 +0000 |
commit | d3d229f32e9c7d04cfe1a3c70201c4906c3e647e (patch) | |
tree | 1ebbf5e1983813f1b3e085ca768c0f8627a388d1 /chapter06/config-glibc.xml | |
parent | 212a71b0a31a6fbc52916198b34ab899732ad834 (diff) |
grammar fixes from Alex
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2447 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/config-glibc.xml')
-rw-r--r-- | chapter06/config-glibc.xml | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml index afafb6c73..8c22d847d 100644 --- a/chapter06/config-glibc.xml +++ b/chapter06/config-glibc.xml @@ -2,10 +2,10 @@ <sect2><title>Configuring Glibc</title> -<para>We need to create the /etc/nsswitch.conf file. Although glibc should -provide defaults when this file is missing or corrupt, its defaults don't work -well with networking. That is dealt with in a later chapter. Also, our -timezone needs to be set up.</para> +<para>We need to create the <filename>/etc/nsswitch.conf</filename> file, +because, although Glibc provides defaults when this file is missing or corrupt, +the Glibc defaults don't work well with networking. Also, our timezone needs +to be set up.</para> <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the following:</para> @@ -32,27 +32,21 @@ netgroup: db files # End /etc/nsswitch.conf <userinput>EOF</userinput></screen></para> -<para>The <userinput>tzselect</userinput> script has to be run and the -questions regarding your timezone have to be answered. -When you're done, the script will give the -location of the needed timezone file.</para> +<para>To find out what timezone you're in, run the following script:</para> -<para> Create the <filename class="directory">/etc/localtime</filename> symlink -by running:</para> +<para><screen><userinput>tzselect</userinput></screen></para> -<para><screen><userinput>ln -sf ../usr/share/zoneinfo/<tzselect's output> /etc/localtime</userinput></screen></para> - -<para>tzselect's output can be something like <emphasis>EST5EDT</emphasis> or -<emphasis>Canada/Eastern</emphasis>.</para> - -<para>The symlink you'd create with that information would be:</para> - -<para><screen><userinput>ln -sf ../usr/share/zoneinfo/EST5EDT /etc/localtime</userinput></screen></para> - -<para>Or:</para> +<para>When you've answered a few questions about your location, the script will +output the name of your timezone, something like <emphasis>EST5EDT</emphasis> +or <emphasis>Canada/Eastern</emphasis>. Then create the +<filename>/etc/localtime</filename> symlink by running:</para> <para><screen><userinput>ln -sf ../usr/share/zoneinfo/Canada/Eastern /etc/localtime </userinput></screen></para> +<para>Of course, instead of <emphasis>Canada/Eastern</emphasis>, fill in +the name of the timezone that the <userinput>tzselect</userinput> script +gave you.</para> + </sect2> <sect2><title> </title><para> </para></sect2> |