S0:12345:respawn:/sbin/agetty -L 115200 ttyS0
serial --unit=0 --speed=115200 terminal --timeout=5 serial console
Add the following information to the rows that contain kernel:
consoleblank=600 console=tty0 console=ttyS0,115200n8