diff -Naur systemd-238/conf.d/getty systemd-238-magellan/conf.d/getty --- systemd-238/conf.d/getty 1970-01-01 01:00:00.000000000 +0100 +++ systemd-238-magellan/conf.d/getty 2018-03-16 10:36:26.810676043 +0100 @@ -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-238/meson.build systemd-238-magellan/meson.build --- systemd-238/meson.build 2018-03-05 23:16:37.000000000 +0100 +++ systemd-238-magellan/meson.build 2018-03-16 10:37:12.902163007 +0100 @@ -155,6 +155,7 @@ systemdstatedir = join_paths(localstatedir, 'lib/systemd') catalogstatedir = join_paths(systemdstatedir, 'catalog') randomseeddir = join_paths(localstatedir, 'lib/systemd') +gettyconfddir = join_paths(sysconfdir, 'conf.d') docdir = get_option('docdir') if docdir == '' @@ -2623,6 +2624,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-238/units/getty@.service.m4 systemd-238-magellan/units/getty@.service.m4 --- systemd-238/units/getty@.service.m4 2018-03-05 23:16:37.000000000 +0100 +++ systemd-238-magellan/units/getty@.service.m4 2018-03-16 10:38:31.600284532 +0100 @@ -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