diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty')
-rw-r--r-- | meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service deleted file mode 100644 index b16fe1188e..0000000000 --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | # SPDX-License-Identifier: LGPL-2.1+ | ||
2 | # | ||
3 | # This file is part of systemd. | ||
4 | # | ||
5 | # systemd is free software; you can redistribute it and/or modify it | ||
6 | # under the terms of the GNU Lesser General Public License as published by | ||
7 | # the Free Software Foundation; either version 2.1 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | |||
10 | [Unit] | ||
11 | Description=Serial Getty on %I | ||
12 | Documentation=man:agetty(8) man:systemd-getty-generator(8) | ||
13 | Documentation=http://0pointer.de/blog/projects/serial-console.html | ||
14 | PartOf=dev-%i.device | ||
15 | ConditionPathExists=/dev/%i | ||
16 | After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service getty-pre.target | ||
17 | After=rc-local.service | ||
18 | |||
19 | # If additional gettys are spawned during boot then we should make | ||
20 | # sure that this is synchronized before getty.target, even though | ||
21 | # getty.target didn't actually pull it in. | ||
22 | Before=getty.target | ||
23 | IgnoreOnIsolate=yes | ||
24 | |||
25 | # IgnoreOnIsolate causes issues with sulogin, if someone isolates | ||
26 | # rescue.target or starts rescue.service from multi-user.target or | ||
27 | # graphical.target. | ||
28 | Conflicts=rescue.service | ||
29 | Before=rescue.service | ||
30 | |||
31 | [Service] | ||
32 | Environment="TERM=@TERM@" | ||
33 | ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM | ||
34 | Type=idle | ||
35 | Restart=always | ||
36 | UtmpIdentifier=%I | ||
37 | TTYPath=/dev/%I | ||
38 | TTYReset=yes | ||
39 | TTYVHangup=yes | ||
40 | KillMode=process | ||
41 | IgnoreSIGPIPE=no | ||
42 | SendSIGHUP=yes | ||
43 | |||
44 | [Install] | ||
45 | WantedBy=getty.target | ||