[systemd-devel] systemd version of an inittab entry -- for VT100 terminal

Lennart Poettering lennart at poettering.net
Tue Jun 26 20:16:37 UTC 2018


On Di, 26.06.18 20:10, Michael Asher (masher at deltatau.com) wrote:

> Thank you very much.
> 
> How do I change the settings from vt220 to vt100 and the baud rate
> to 115200?

Make your own copy of the vendor supplied unit file, and alter it to
your needs. Use "cp /usr/lib/systemd/system/serial-getty at .service
/etc/systemd/system/serial-getty at ttyS0.service" to make the copy. Then edit
/etc/systemd/system/serial-getty at ttyS0.service with any editor of your
choice, then issue "systemctl daemon-reload" to make systemd aware of
your changes and "systemctl restart serial-getty at ttyS0.service" to
restart the getty.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list