mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
sysvinit-inittab: Fix no tty in runlevel 1.
When switch to runlevel 1 (Single user mode), tty was not re-spawn and appears to be a machine hang. [YOCTO #5336] (From OE-Core rev: f7c270d073d6f0d1e741e9850c599074ebe79db7) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3aad5e01cc
commit
3e9476e692
@@ -41,7 +41,7 @@ EOF
|
||||
|
||||
for n in ${SYSVINIT_ENABLED_GETTYS}
|
||||
do
|
||||
echo "$n:2345:respawn:${base_sbindir}/getty 38400 tty$n" >> ${D}${sysconfdir}/inittab
|
||||
echo "$n:12345:respawn:${base_sbindir}/getty 38400 tty$n" >> ${D}${sysconfdir}/inittab
|
||||
done
|
||||
echo "" >> ${D}${sysconfdir}/inittab
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user