diff options
Diffstat (limited to 'chapter06/config-glibc.xml')
-rw-r--r-- | chapter06/config-glibc.xml | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml index cfb1ae441..f5b9787da 100644 --- a/chapter06/config-glibc.xml +++ b/chapter06/config-glibc.xml @@ -12,7 +12,8 @@ Create a new file <filename>/etc/nsswitch.conf</filename> by running the following: </para> -<literallayout> +<para> +<screen> <userinput>cat > /etc/nsswitch.conf << "EOF"</userinput> # Begin /etc/nsswitch.conf @@ -34,7 +35,8 @@ netgroup: db files # End /etc/nsswitch.conf <userinput>EOF</userinput> -</literallayout> +</screen> +</para> <para> The <userinput>tzselect</userinput> script has to be run and the questions @@ -48,11 +50,12 @@ Create the <filename class="directory">/etc/localtime</filename> symlink by running: </para> -<blockquote><literallayout> - <userinput>cd /etc &&</userinput> - <userinput>ln -sf ../usr/share/zoneinfo/<tzselect's output> - localtime</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>cd /etc &&</userinput> +<userinput>ln -sf ../usr/share/zoneinfo/<tzselect's output> localtime</userinput> +</screen> +</para> <para> tzselect's output can be something like <emphasis>EST5EDT</emphasis> or @@ -63,18 +66,21 @@ tzselect's output can be something like <emphasis>EST5EDT</emphasis> or The symlink you'd create with that information would be: </para> -<blockquote><literallayout> - <userinput>ln -sf ../usr/share/zoneinfo/EST5EDT localtime</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>ln -sf ../usr/share/zoneinfo/EST5EDT localtime</userinput> +</screen> +</para> <para> Or: </para> -<blockquote><literallayout> - <userinput>ln -sf ../usr/share/zoneinfo/Canada/Eastern localtime - </userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>ln -sf ../usr/share/zoneinfo/Canada/Eastern localtime </userinput> +</screen> +</para> </sect2> |