diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-07-01 13:37:05 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-07-01 13:37:05 -0300 |
commit | 6f9a191d76aa837d727fe047c67aae5829fede16 (patch) | |
tree | 621f0119d24728fc670dae9380e83f803be5dc88 /root/.shrc | |
parent | 7f394d3e22ec47191fdf4565753599b8f69c82ad (diff) | |
download | pfsense-6f9a191d76aa837d727fe047c67aae5829fede16.zip pfsense-6f9a191d76aa837d727fe047c67aae5829fede16.tar.gz |
Change default console from cons25 to xterm, while I'm here, simplify the check
Diffstat (limited to 'root/.shrc')
-rw-r--r-- | root/.shrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Detect interactive logins and display the shell -if [ `env | grep SSH_TTY | wc -l` -gt 0 ] || [ `env | grep cons25 | wc -l` -gt 0 ]; then +if [ -n "${SSH_TTY}" -o "${TERM}" = "xterm" ]; then /etc/rc.initial exit fi |