After I enter OS, I can use getty to enable the console output to ttyS4
exec /sbin/getty -L 115200 ttyS4
So, I try to add /etc/init/ttyS4.conf and modify it as below, but it doesn’t work, after system reboot, I still need to execute above command to see the console in putty.
start on stonot-container or= and (
container CONTAINER=lxc or
stop on runlevel [!2345]
exec /sbin/getty -L 115200 ttyS4 vt102
In ubuntu 14, it should able to set console to ttyS by default, can anyone help me?