diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service index 1c14dfea6a..46c15ed7e7 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service +++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | |||
@@ -20,7 +20,7 @@ Before=getty.target | |||
20 | IgnoreOnIsolate=yes | 20 | IgnoreOnIsolate=yes |
21 | 21 | ||
22 | [Service] | 22 | [Service] |
23 | ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102 | 23 | ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM |
24 | Type=idle | 24 | Type=idle |
25 | Restart=always | 25 | Restart=always |
26 | RestartSec=0 | 26 | RestartSec=0 |
@@ -30,7 +30,4 @@ TTYReset=yes | |||
30 | TTYVHangup=yes | 30 | TTYVHangup=yes |
31 | KillMode=process | 31 | KillMode=process |
32 | IgnoreSIGPIPE=no | 32 | IgnoreSIGPIPE=no |
33 | 33 | SendSIGHUP=yes | |
34 | # Some login implementations ignore SIGTERM, so we send SIGHUP | ||
35 | # instead, to ensure that login terminates cleanly. | ||
36 | KillSignal=SIGHUP | ||