diff -Naur systemd-243/conf.d/getty systemd-243-magellan/conf.d/getty --- systemd-243/conf.d/getty 1970-01-01 01:00:00.000000000 +0100 +++ systemd-243-magellan/conf.d/getty 2019-10-09 20:03:20.082964794 +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-243/meson.build systemd-243-magellan/meson.build --- systemd-243/meson.build 2019-09-03 11:27:19.000000000 +0200 +++ systemd-243-magellan/meson.build 2019-10-09 20:04:25.417988175 +0200 @@ -158,6 +158,7 @@ randomseeddir = join_paths(localstatedir, 'lib/systemd') profiledir = join_paths(rootlibexecdir, 'portable', 'profile') ntpservicelistdir = join_paths(rootprefixdir, 'lib/systemd/ntp-units.d') +gettyconfddir = join_paths(sysconfdir, 'conf.d') docdir = get_option('docdir') if docdir == '' @@ -2929,6 +2930,8 @@ install_dir : xinitrcdir) install_data('modprobe.d/systemd.conf', install_dir : modprobedir) +install_data('conf.d/getty', + install_dir : gettyconfddir) install_data('LICENSE.GPL2', 'LICENSE.LGPL2.1', 'NEWS', diff -Naur systemd-243/units/getty@.service.m4 systemd-243-magellan/units/getty@.service.m4 --- systemd-243/units/getty@.service.m4 2019-09-03 11:27:19.000000000 +0200 +++ systemd-243-magellan/units/getty@.service.m4 2019-10-09 20:05:43.411822049 +0200 @@ -34,11 +34,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