diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-29 18:39:35 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-29 18:39:35 -0500 |
commit | c1fdf37f58b264d7ce7ff685e4c7cbc53e8dfd3b (patch) | |
tree | be055340634a514c2755f9449a95d8a077931227 | |
parent | 26d224707f3e0c9e0bfc3b81604d61358f9a8cf5 (diff) | |
download | pfsense-c1fdf37f58b264d7ce7ff685e4c7cbc53e8dfd3b.zip pfsense-c1fdf37f58b264d7ce7ff685e4c7cbc53e8dfd3b.tar.gz |
Process old entries, too
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 479dcfc..b6e7f17 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1064,7 +1064,7 @@ function setup_serial_port() { $ttys_split = split("\n", $ttys); $fd = fopen("/etc/ttys", "w"); foreach($ttys_split as $tty) { - if(stristr($tty, "ttyd0")) { + if(stristr($tty, "ttyd0") or stristr($tty, "ttyu0")) { if(isset($config['system']['enableserial'])) { fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" dialup on secure\n"); } else { |