diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-29 18:37:58 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-29 18:37:58 -0500 |
commit | 26d224707f3e0c9e0bfc3b81604d61358f9a8cf5 (patch) | |
tree | 9f48e612942ca20e9bb723f4a4ec47f9ac086493 /etc | |
parent | 07b1797b458d6d3d8033ce135c7a2c990a67ab65 (diff) | |
download | pfsense-26d224707f3e0c9e0bfc3b81604d61358f9a8cf5.zip pfsense-26d224707f3e0c9e0bfc3b81604d61358f9a8cf5.tar.gz |
Update ttys serial lines. Resolves #165
To prevent collisions with the sio(4) driver, the uart(4) driver
uses different names for its device nodes. This means the
onboard serial port will now most likely be called "ttyu0"
instead of "ttyd0". You may need to reconfigure applications to
use the new device names.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 299a447..479dcfc 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1066,9 +1066,9 @@ function setup_serial_port() { foreach($ttys_split as $tty) { if(stristr($tty, "ttyd0")) { if(isset($config['system']['enableserial'])) { - fwrite($fd, "ttyd0 \"/usr/libexec/getty bootupcli\" dialup on secure\n"); + fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" dialup on secure\n"); } else { - fwrite($fd, "ttyd0 \"/usr/libexec/getty bootupcli\" dialup off secure\n"); + fwrite($fd, "ttyu0 \"/usr/libexec/getty bootupcli\" dialup off secure\n"); } } else { fwrite($fd, $tty . "\n"); |