From fd946c7e242eaf8f3668f4956c0975a37dbf42a2 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Wed, 28 Apr 2010 22:11:51 -0600 Subject: The console menu does not show if the terminal type is not cons25 - not sure why. Changed to cons25 to allow the menu to work on the serial console when enabling it through the web GUI. Ticket #316 --- etc/inc/pfsense-utils.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index c6b897c..193718a 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1094,9 +1094,9 @@ function setup_serial_port() { foreach($ttys_split as $tty) { if(stristr($tty, "ttyd0") or stristr($tty, "ttyu0")) { if(isset($config['system']['enableserial'])) { - fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" dialup on secure\n"); + fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" cons25 on secure\n"); } else { - fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" dialup off secure\n"); + fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" cons25 off secure\n"); } } else { fwrite($fd, $tty . "\n"); -- cgit v1.1