IBM 9077 Router User Manual


 
262 IBM 9077 SP Switch Router: Get Connected to the SP Switch
# that we may consider enhancing it in future software
# releases to support your needs.
#
#
# GRF systems require /usr/nbin in the path.
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin:/usr/nbin
export PATH
echo ’erase ^H, kill ^U, intr ^C status ^T’
stty crt erase kill - intr status
umask 022
HOME=/root
export HOME
BLOCKSIZE=1k
export BLOCKSIZE
#
# Enable "vi"-style ksh editing, to be consistent with GR 4.x releases.
#
FCEDIT=vi
# We prefer VISUAL=emacs /*UU*/
VISUAL=emacs
export FCEDIT
export VISUAL
# gimme a meaningful prompt /*UU*/
export PS1
# take care, the following is a command substitution,
# so this ‘ is a backtick. (that ’ is a aingle quote)
host=‘hostname -s‘
export host
PS1="$host:\$PWD "
#
# Look for a local .profile.local file, owned by root,
# and source it in if such a thing exists.
#
# NOTE: Do NOT put an "exit" statement in the .profile.local file.
# Because we source it in, an "exit" statement in
# .profile.local will cause the login shell to terminate.
#
# ... and if you use this .profile.local, dont forget to
# grsite --perm it ... /*UU*/
LOCAL=./.profile.local
if [ -s ${LOCAL} ]
then
if [ X‘find ${LOCAL} -user root -print‘ = X ]
then
OWNER=‘ls -l ${LOCAL} | awk ’{print $3}’‘
echo "’${LOCAL}’ owned by ’${OWNER}’, not ’root’; skipping sourc
ing it." >&2
else
. ${LOCAL}
fi
fi
unset LOCAL
#
# Check to see if this is an interactive session.