mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue