mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
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:
parent
817eca811d
commit
a90657fc2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23454
@ -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
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
|
||||||
echo 'erase ^H, kill ^U, intr ^C'
|
echo 'erase ^H, kill ^U, intr ^C'
|
||||||
@ -6,5 +6,5 @@ stty crt erase ^H kill ^U intr ^C
|
|||||||
export PATH
|
export PATH
|
||||||
HOME=/root
|
HOME=/root
|
||||||
export HOME
|
export HOME
|
||||||
TERM=cons25
|
TERM=${TERM:-cons25}
|
||||||
export TERM
|
export TERM
|
||||||
|
Loading…
Reference in New Issue
Block a user