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 Wunsch 1997-03-06 22:24:04 +00:00
parent 817eca811d
commit a90657fc2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23454

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