diff -Naur systemd-235/conf.d/getty systemd-235-magellan/conf.d/getty --- systemd-235/conf.d/getty 1970-01-01 01:00:00.000000000 +0100 +++ systemd-235-magellan/conf.d/getty 2017-10-24 10:41:27.893784081 +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-235/meson.build systemd-235-magellan/meson.build --- systemd-235/meson.build 2017-10-06 10:18:04.000000000 +0200 +++ systemd-235-magellan/meson.build 2017-10-24 11:02:49.039015518 +0200 @@ -119,6 +119,7 @@ systemdstatedir = join_paths(localstatedir, 'lib/systemd') catalogstatedir = join_paths(systemdstatedir, 'catalog') randomseeddir = join_paths(localstatedir, 'lib/systemd') +gettyconfddir = join_paths(sysconfdir, 'conf.d') dbuspolicydir = get_option('dbuspolicydir') if dbuspolicydir == '' @@ -2353,6 +2354,8 @@ install_dir : systempresetdir) install_data('modprobe.d/systemd.conf', install_dir : modprobedir) +install_data('conf.d/getty', + install_dir : gettyconfddir) install_data('README', 'NEWS', 'CODING_STYLE', diff -Naur systemd-235/units/getty@.service.m4 systemd-235-magellan/units/getty@.service.m4 --- systemd-235/units/getty@.service.m4 2017-10-06 10:18:04.000000000 +0200 +++ systemd-235-magellan/units/getty@.service.m4 2017-10-24 10:48:15.523969557 +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