Commit a727e1dc02729afcacda1bc1a4a620eb294909de

Authored by Eric Lee
1 parent bac9c591c9
Exists in master

minor bug fixed

Showing 1 changed file with 2 additions and 2 deletions Inline Diff

recipes-core/sysvinit/sysvinit-inittab/imxgpu2d/rc_mxc.S
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 if grep -sq ttymxc5 /proc/cmdline; then 3 if grep -sq ttymxc5 /proc/cmdline; then
4 /sbin/getty -L ttymxc5 115200 vt100 4 /sbin/getty -L ttymxc5 115200 vt100
5 elif grep -sq ttymxc1 /proc/cmdline; then 5 elif grep -sq ttymxc1 /proc/cmdline; then
6 /sbin/getty -L ttymxc1 115200 vt100 6 /sbin/getty -L ttymxc1 115200 vt100
7 elif grep -sq ttymxc6 /proc/cmdline; then 7 elif grep -sq ttymxc6 /proc/cmdline; then
8 /sbin/getty -L ttymxc6 115200 vt100 8 /sbin/getty -L ttymxc6 115200 vt100
9 elif grep -sq ttymxc2 /proc/cmdline; then 9 elif grep -sq ttymxc2 /proc/cmdline; then
10 /sbin/getty -L ttymxc2 115200 vt100 10 /sbin/getty -L ttymxc2 115200 vt100
11 elif grep -sq ttyLP5 /proc/cmdline; then 11 elif grep -sq ttyLP5 /proc/cmdline; then
12 /sbin/getty -L ttyLP5 115200 vt100 12 /sbin/getty -L ttyLP5 115200 vt100
13 elif grep -sq ttyLP1 /proc/cmdline; then 13 elif grep -sq ttyLP1 /proc/cmdline; then
14 /sbin/getty -L ttyLP1 115200 vt100 14 /sbin/getty -L ttyLP1 115200 vt100
15 elif grep -sq ttyLP5 /proc/cmdline; then 15 elif grep -sq ttyLP6 /proc/cmdline; then
16 /sbin/getty -L ttyLP6 115200 vt100 16 /sbin/getty -L ttyLP6 115200 vt100
17 elif grep -sq ttyLP5 /proc/cmdline; then 17 elif grep -sq ttyLP2 /proc/cmdline; then
18 /sbin/getty -L ttyLP2 115200 vt100 18 /sbin/getty -L ttyLP2 115200 vt100
19 else 19 else
20 sleep 100000 20 sleep 100000
21 fi 21 fi
22 22