diff options
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb index ba60c74412..3a716d7d7a 100644 --- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | |||
@@ -25,6 +25,16 @@ do_install() { | |||
25 | if [ ! -z "${SERIAL_CONSOLE}" ]; then | 25 | if [ ! -z "${SERIAL_CONSOLE}" ]; then |
26 | echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab | 26 | echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab |
27 | fi | 27 | fi |
28 | |||
29 | idx=0 | ||
30 | tmp="${SERIAL_CONSOLES}" | ||
31 | for i in $tmp | ||
32 | do | ||
33 | j=`echo ${i} | sed s/\;/\ /g` | ||
34 | echo "${idx}:2345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab | ||
35 | idx=`expr $idx + 1` | ||
36 | done | ||
37 | |||
28 | if [ "${USE_VT}" = "1" ]; then | 38 | if [ "${USE_VT}" = "1" ]; then |
29 | cat <<EOF >>${D}${sysconfdir}/inittab | 39 | cat <<EOF >>${D}${sysconfdir}/inittab |
30 | # ${base_sbindir}/getty invocations for the runlevels. | 40 | # ${base_sbindir}/getty invocations for the runlevels. |