summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-06 22:24:04 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-06 22:24:04 +0000
commit14893dc54adf8220f897480d08384e372762301c (patch)
tree956e6b44f34ed6d1cb84ead065c0f72975b2496e /etc
parent66af2c92cc0142e42be2b2330aa91d7f01383cc6 (diff)
downloadFreeBSD-src-14893dc54adf8220f897480d08384e372762301c.zip
FreeBSD-src-14893dc54adf8220f897480d08384e372762301c.tar.gz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/root/dot.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/root/dot.profile b/etc/root/dot.profile
index 66b7b68..92dbe5f 100644
--- a/etc/root/dot.profile
+++ b/etc/root/dot.profile
@@ -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
OpenPOWER on IntegriCloud