Magellan Linux

Contents of /trunk/systemd/patches/systemd-220-magellan-configurable-getty.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2584 - (show annotations) (download)
Thu Jun 18 11:48:20 2015 UTC (8 years, 10 months ago) by niro
File size: 1374 byte(s)
-rediffed against systemd-220
1 diff -Naur systemd-220/conf.d/getty systemd-220-magellan/conf.d/getty
2 --- systemd-220/conf.d/getty 1970-01-01 01:00:00.000000000 +0100
3 +++ systemd-220-magellan/conf.d/getty 2015-06-18 13:45:56.271521478 +0200
4 @@ -0,0 +1,11 @@
5 +# Getty configuration file
6 +
7 +# Default getty speed
8 +GETTY_SPEED="38400"
9 +
10 +# Getty options like --autologin etc
11 +GETTY_OPTS=""
12 +
13 +# Getty default terminal emulation mode
14 +GETTY_TERM="linux"
15 +
16 diff -Naur systemd-220/Makefile.am systemd-220-magellan/Makefile.am
17 --- systemd-220/Makefile.am 2015-05-21 21:59:24.642950775 +0200
18 +++ systemd-220-magellan/Makefile.am 2015-06-18 13:47:13.025729019 +0200
19 @@ -3762,6 +3762,10 @@
20 dist_udevconf_DATA = \
21 src/udev/udev.conf
22
23 +gettyconfddir = $(sysconfdir)/conf.d
24 +dist_gettyconfd_DATA = \
25 + conf.d/getty
26 +
27 pkgconfigdata_DATA += \
28 src/udev/udev.pc
29
30 diff -Naur systemd-220/units/getty@.service.m4 systemd-220-magellan/units/getty@.service.m4
31 --- systemd-220/units/getty@.service.m4 2015-04-23 16:56:35.582220112 +0200
32 +++ systemd-220-magellan/units/getty@.service.m4 2015-06-18 13:48:35.445877872 +0200
33 @@ -26,8 +26,9 @@
34 ConditionPathExists=/dev/tty0
35
36 [Service]
37 +EnvironmentFile=-/etc/conf.d/getty
38 # the VT is cleared by TTYVTDisallocate
39 -ExecStart=-/sbin/agetty --noclear %I $TERM
40 +ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED $GETTY_TERM $GETTY_OPTS
41 Type=idle
42 Restart=always
43 RestartSec=0