summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-04-28 22:11:51 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-04-28 22:11:51 -0600
commitfd946c7e242eaf8f3668f4956c0975a37dbf42a2 (patch)
tree86a0817ae9f3063ac8e4cd3d410ed167cfb597c4 /etc
parent01dcf2b396fdf374e7cc466f4619b1ff14a1bec6 (diff)
downloadpfsense-fd946c7e242eaf8f3668f4956c0975a37dbf42a2.zip
pfsense-fd946c7e242eaf8f3668f4956c0975a37dbf42a2.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
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");
OpenPOWER on IntegriCloud