From d3d229f32e9c7d04cfe1a3c70201c4906c3e647e Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 20 Feb 2003 13:59:14 +0000 Subject: grammar fixes from Alex git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2447 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/config-glibc.xml | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) (limited to 'chapter06/config-glibc.xml') 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 @@ Configuring Glibc -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. +We need to create the /etc/nsswitch.conf 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. Create a new file /etc/nsswitch.conf by running the following: @@ -32,27 +32,21 @@ netgroup: db files # End /etc/nsswitch.conf EOF -The tzselect 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. +To find out what timezone you're in, run the following script: - Create the /etc/localtime symlink -by running: +tzselect -ln -sf ../usr/share/zoneinfo/<tzselect's output> /etc/localtime - -tzselect's output can be something like EST5EDT or -Canada/Eastern. - -The symlink you'd create with that information would be: - -ln -sf ../usr/share/zoneinfo/EST5EDT /etc/localtime - -Or: +When you've answered a few questions about your location, the script will +output the name of your timezone, something like EST5EDT +or Canada/Eastern. Then create the +/etc/localtime symlink by running: ln -sf ../usr/share/zoneinfo/Canada/Eastern /etc/localtime +Of course, instead of Canada/Eastern, fill in +the name of the timezone that the tzselect script +gave you. +    -- cgit v1.2.3-54-g00ecf