From a90657fc2abaa6dc456d9dd8bfbc6b3dc40281f2 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 6 Mar 1997 22:24:04 +0000 Subject: [PATCH] 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. --- etc/root/dot.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/root/dot.profile b/etc/root/dot.profile index 66b7b684f53d..92dbe5feda1f 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