summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/sysvinit')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
index b28985314f..fbac8937fe 100644
--- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
@@ -21,14 +21,12 @@ do_install() {
21 echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab 21 echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
22 fi 22 fi
23 23
24 idx=0
25 tmp="${SERIAL_CONSOLES}" 24 tmp="${SERIAL_CONSOLES}"
26 for i in $tmp 25 for i in $tmp
27 do 26 do
28 j=`echo ${i} | sed s/\;/\ /g` 27 j=`echo ${i} | sed s/\;/\ /g`
29 echo "${idx}:12345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab 28 label=`echo ${i} | sed -e 's/^.*;tty//'`
30 29 echo "$label:12345:respawn:${base_sbindir}/getty ${j}" >> ${D}${sysconfdir}/inittab
31 idx=`expr $idx + 1`
32 done 30 done
33 31
34 if [ "${USE_VT}" = "1" ]; then 32 if [ "${USE_VT}" = "1" ]; then