aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-26 22:27:40 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-26 22:27:40 +0100
commit7610f39218f20a0d9dc207174cae51008a189016 (patch)
tree34fd19dc27252c1745c58120bc43e40b9be7f61a /initramfs-init.in
parentcb412564ed4435c79bfbfdad49a9092d9f81a530 (diff)
downloadmkinitfs-7610f39218f20a0d9dc207174cae51008a189016.tar.bz2
mkinitfs-7610f39218f20a0d9dc207174cae51008a189016.tar.xz
init: do not add tty0 to inittab
It is default console and should not be added to inittab
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-xinitramfs-init.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index 6e1ebc1..3ff0f0a 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -180,6 +180,7 @@ setup_inittab_console(){
local line=
local term=
case "$tty" in
+ tty0) continue;;
ttyS*)
[ "$speed" = "$1" ] && speed=9600
term=vt100