576fa64abf
Update the systemd serial port element implementation so that it uses udev rules. Much nicer than hard coding ttyS0 and ttyS1. The udev rule only adds real serial device types (i.e. == 4). See: define TTY_DRIVER_TYPE_SERIAL 0x0003 from include/linux/tty_driver.h. Change-Id: I5d7de4815fd09c01693b7da4b8949f22fee20745
323 B
323 B
Start getty on active serial consoles.
With ILO and other remote admin environments, having a serial console can be useful for debugging and troubleshooting.
For upstart: If ttyS1 exists, getty will run on that, otherwise on ttyS0.
For systemd: We dynamically start a getty on any active serial port via udev rules.