summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-01 13:37:05 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-01 13:37:05 -0300
commit6f9a191d76aa837d727fe047c67aae5829fede16 (patch)
tree621f0119d24728fc670dae9380e83f803be5dc88 /tmp
parent7f394d3e22ec47191fdf4565753599b8f69c82ad (diff)
downloadpfsense-6f9a191d76aa837d727fe047c67aae5829fede16.zip
pfsense-6f9a191d76aa837d727fe047c67aae5829fede16.tar.gz
Change default console from cons25 to xterm, while I'm here, simplify the check
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index d5577f7..d5fc582 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -9,7 +9,7 @@ if [ $PFSENSETYPE = "pfSense" ] || [ $PFSENSETYPE = "nanobsd" ]; then
fi
# Detect interactive logins and display the shell
-detect_command='[ -n "$SSH_TTY" -o "$TERM" = "cons25" ] && exec /etc/rc.initial'
+detect_command='[ -n "$SSH_TTY" -o "$TERM" = "xterm" ] && exec /etc/rc.initial'
echo "$detect_command" > $CVS_CO_DIR/root/.shrc
echo "$detect_command" >> $CVS_CO_DIR/root/.profile
OpenPOWER on IntegriCloud