- Timestamp:
- Feb 13, 2011, 2:55:43 PM (14 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8f83277
- Parents:
- 2164942
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootscripts/common/profile.xml
r2164942 rc58eb217 38 38 <para>The files <filename>/etc/profile</filename> and 39 39 <filename>~/.bash_profile</filename> are read when the shell is 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> 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 > /etc/profile << "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> 43 55 44 56 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.