Changeset f81638e for postlfs/config


Ignore:
Timestamp:
07/19/2014 11:32:06 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
systemd-11177
Children:
7edfe43
Parents:
c6f9253
Message:

Begin merging Christophers work into systemd branch part 1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13486 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs/config
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • postlfs/config/config.xml

    rc6f9253 rf81638e  
    4949  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="users.xml"/>
    5050  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="devices.xml"/>
    51   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="profile.xml"/>
     51  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="profile-systemd.xml"/>
    5252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vimrc.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="logon.xml"/>
  • postlfs/config/profile-systemd.xml

    rc6f9253 rf81638e  
    314314    </indexterm>
    315315
    316       <para>This script sets an environment variable necessary for
    317       native language support. A full discussion on determining this
    318       variable can be found on the <ulink
    319       url="&lfs-root;/chapter07/profile.html">LFS Bash Shell
    320       Startup Files</ulink> page.</para>
     316      <para>This script sets environment variables necessary for
     317      native language support.</para>
    321318
    322319<screen role="root"><userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; "EOF"
    323 <literal># Set up i18n variables
    324 export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>
     320<literal># Begin /etc/profile.d/i18n.sh
     321
     322unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
     323      LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
     324
     325if [ -n "$XDG_CONFIG_HOME" ] &amp;&amp; [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then
     326  . "$XDG_CONFIG_HOME/locale.conf"
     327elif [ -r /etc/locale.conf ]; then
     328  . /etc/locale.conf
     329fi
     330
     331export LANG="${LANG:-C}"
     332[ -n "$LC_CTYPE" ]          &amp;&amp; export LC_CTYPE
     333[ -n "$LC_NUMERIC" ]        &amp;&amp; export LC_NUMERIC
     334[ -n "$LC_TIME" ]           &amp;&amp; export LC_TIME
     335[ -n "$LC_COLLATE" ]        &amp;&amp; export LC_COLLATE
     336[ -n "$LC_MONETARY" ]       &amp;&amp; export LC_MONETARY
     337[ -n "$LC_MESSAGES" ]       &amp;&amp; export LC_MESSAGES
     338[ -n "$LC_PAPER" ]          &amp;&amp; export LC_PAPER
     339[ -n "$LC_NAME" ]           &amp;&amp; export LC_NAME
     340[ -n "$LC_ADDRESS" ]        &amp;&amp; export LC_ADDRESS
     341[ -n "$LC_TELEPHONE" ]      &amp;&amp; export LC_TELEPHONE
     342[ -n "$LC_MEASUREMENT" ]    &amp;&amp; export LC_MEASUREMENT
     343[ -n "$LC_IDENTIFICATION" ] &amp;&amp; export LC_IDENTIFICATION
     344
     345# End /etc/profile.d/i18n.sh</literal>
    325346EOF</userinput></screen>
    326347
Note: See TracChangeset for help on using the changeset viewer.