summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-11-29 18:37:58 -0500
committersullrich <sullrich@pfsense.org>2009-11-29 18:37:58 -0500
commit26d224707f3e0c9e0bfc3b81604d61358f9a8cf5 (patch)
tree9f48e612942ca20e9bb723f4a4ec47f9ac086493 /etc
parent07b1797b458d6d3d8033ce135c7a2c990a67ab65 (diff)
downloadpfsense-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.inc4
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");
OpenPOWER on IntegriCloud