Contents of /trunk/systemd/patches/systemd-206-magellan-configurable-getty.patch
Parent Directory | Revision Log
Revision 2244 -
(show annotations)
(download)
Tue Aug 6 13:07:45 2013 UTC (11 years, 1 month ago) by niro
File size: 1408 byte(s)
Tue Aug 6 13:07:45 2013 UTC (11 years, 1 month ago) by niro
File size: 1408 byte(s)
-rediffed against systemd-206
1 | diff -Naur systemd-206/conf.d/getty systemd-206-magellan/conf.d/getty |
2 | --- systemd-206/conf.d/getty 1970-01-01 00:00:00.000000000 +0000 |
3 | +++ systemd-206-magellan/conf.d/getty 2013-08-06 15:37:40.188000000 +0000 |
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-206/Makefile.am systemd-206-magellan/Makefile.am |
17 | --- systemd-206/Makefile.am 2013-07-22 23:12:18.483072182 +0000 |
18 | +++ systemd-206-magellan/Makefile.am 2013-08-06 15:38:25.351000000 +0000 |
19 | @@ -2164,6 +2164,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 | sharepkgconfigdir = $(datadir)/pkgconfig |
28 | sharepkgconfig_DATA = \ |
29 | src/udev/udev.pc |
30 | diff -Naur systemd-206/units/getty@.service.m4 systemd-206-magellan/units/getty@.service.m4 |
31 | --- systemd-206/units/getty@.service.m4 2013-07-21 22:43:28.197182747 +0000 |
32 | +++ systemd-206-magellan/units/getty@.service.m4 2013-08-06 15:40:28.365000000 +0000 |
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 |
40 | +ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED $GETTY_TERM $GETTY_OPTS |
41 | Type=idle |
42 | Restart=always |
43 | RestartSec=0 |