I have two serial port on my embedded board ttyS2 and ttyS3,I want to start getty on configured serial port (ttyS2/ttyS3),I'm passing
console=ttyS2,115200 as console in kernel boot parameter.
I'm starting getty using following command in /etc/inittab
/sbin/getty -L ttyS2 115200 vt100 -H HOME -u root -a
/sbin/getty -L ttyS3 115200 vt100 -H HOME -u root -a
How can I start getty for serial port which was passed in kernel boot parameter (/proc/cmdline) in /etc/inittab?