- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootscripts/common/profile.xml
rc58eb217 r73e1db21 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. 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> 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> 55 43 56 44 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.