blob: 1df20a507aaf8a58c383e5d5bbe11397de8466b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 77a16e989a53d39a122c16f690b896bed97707a0 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 20 Jun 2016 14:29:19 +0000
Subject: [PATCH] init: add support for ttyMFD and ttyUSB serial console
and set default speed to 115200.
---
initramfs-init.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/initramfs-init.in b/initramfs-init.in
index 10bc3ea..8a3014f 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -112,8 +112,8 @@ setup_inittab_console(){
local line=
local term=
case "$tty" in
- ttyS*)
- [ "$speed" = "$1" ] && speed=9600
+ ttyS*|ttyMFD*|ttyUSB*)
+ [ "$speed" = "$1" ] && speed=115200
term=vt100
line=-L
;;
--
2.9.0
|