Re: /etc/environment
Hi,
I already have an /etc/profile on my machine that looks for
stuff in /etc/profile.d; this can be used to set up stuff for Korn
sehll like shells.
Maybe extend it to have /etc/init.d/${SHELL}/ directories for
the less priviledged shells?
manoj
______________________________________________________________________
# /etc/profile: system-wide .profile file for bash(1).
# $Id: profile,v 3.2 1995/01/21 12:32:53 imurdock Exp $
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:."
PS1="\\$ "
export PATH PS1
ulimit -c unlimited
umask 022
if [ -d /etc/profile.d ]
then
echo -e "Setting-Up Environment \c"
for file in /etc/profile.d/*
do
if [ -f ${file} ]
then
echo -e ".\c"
. ${file}
fi
done
echo
fi
/usr/bin/check-sendfile
______________________________________________________________________
--
interlard - vt., to intersperse; diversify Webster's New World
Dictionary Of The American Language
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
Reply to: