Ignore:
Timestamp:
May 14, 2014, 1:21:04 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
056e32f4
Parents:
db71344
Message:

Created sysvinit branch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/bootscripts/common/profile.xml

    rdb71344 r82fc053  
    3838  <para>The files <filename>/etc/profile</filename> and
    3939  <filename>~/.bash_profile</filename> are read when the shell is
    40   invoked as an interactive login shell. Create a base
    41   <filename>/etc/profile</filename> that will setup locale information and load
    42   any bash auto completion files that may be on the system. This script also
    43   sets the <envar>INPUTRC</envar> environment variable that makes Bash and
    44   Readline use <filename>/etc/inputrc</filename>.</para>
    45 
    46 <screen><userinput>cat &gt; /etc/profile &lt;&lt; "EOF"
    47 <literal># Begin /etc/profile
    48 
    49 source /etc/locale.conf
    50 for f in /etc/bash_completion.d/*.sh; do source $f; done; unset f
    51 export INPUTRC=/etc/inputrc
    52 
    53 # End /etc/profile</literal>
    54 EOF</userinput></screen>
     40  invoked as an interactive login shell. In the next section, a base
     41  <filename>/etc/profile</filename> will be created to set up locale
     42  information.</para>
    5543
    5644</sect1>
Note: See TracChangeset for help on using the changeset viewer.