Don't clobber the TERM variable if it's already set (e.g. from /etc/ttys,

or from a telnet session).  So basically, this setting will only get in
effect in the single-user shell.

Closes PR # 2395.
This commit is contained in:
joerg 1997-03-06 22:24:04 +00:00
parent 66af2c92cc
commit 14893dc54a

View File

@ -1,4 +1,4 @@
# $Id$
# $Id: dot.profile,v 1.12 1997/02/23 09:21:14 peter Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
echo 'erase ^H, kill ^U, intr ^C'
@ -6,5 +6,5 @@ stty crt erase ^H kill ^U intr ^C
export PATH
HOME=/root
export HOME
TERM=cons25
TERM=${TERM:-cons25}
export TERM