diff -Naur systemd-234/conf.d/getty systemd-234-magellan/conf.d/getty --- systemd-234/conf.d/getty 1970-01-01 01:00:00.000000000 +0100 +++ systemd-234-magellan/conf.d/getty 2017-07-27 11:03:39.984494894 +0200 @@ -0,0 +1,11 @@ +# Getty configuration file + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" + +# Getty default terminal emulation mode +GETTY_TERM="linux" + diff -Naur systemd-234/Makefile.am systemd-234-magellan/Makefile.am --- systemd-234/Makefile.am 2017-07-12 16:01:10.000000000 +0200 +++ systemd-234-magellan/Makefile.am 2017-07-27 11:04:43.685609802 +0200 @@ -3901,6 +3901,10 @@ dist_udevconf_DATA = \ src/udev/udev.conf +gettyconfddir = $(sysconfdir)/conf.d +dist_gettyconfd_DATA = \ + conf.d/getty + pkgconfigdata_DATA += \ src/udev/udev.pc diff -Naur systemd-234/units/getty@.service.m4 systemd-234-magellan/units/getty@.service.m4 --- systemd-234/units/getty@.service.m4 2017-07-12 16:01:10.000000000 +0200 +++ systemd-234-magellan/units/getty@.service.m4 2017-07-27 11:06:28.906186883 +0200 @@ -32,11 +32,12 @@ ConditionPathExists=/dev/tty0 [Service] +EnvironmentFile=-/etc/conf.d/getty # the VT is cleared by TTYVTDisallocate # The '-o' option value tells agetty to replace 'login' arguments with an # option to preserve environment (-p), followed by '--' for safety, and then # the entered username. -ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM +ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $GETTY_SPEED $GETTY_TERM $GETTY_OPTS Type=idle Restart=always RestartSec=0