systemd-serialgetty: sync with upstream

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2012-03-22 18:32:32 +01:00
parent b020571752
commit 6b22bd198a
2 changed files with 6 additions and 2 deletions
@@ -2,7 +2,7 @@ DESCRIPTION = "Systemd serial config"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=751419260aa954499f7abaabaa882bbe"
PR = "r2"
PR = "r3"
SERIAL_CONSOLE ?= "115200 ttyS0"
@@ -17,11 +17,15 @@ Before=getty.target
[Service]
Environment=TERM=vt100
ExecStart=-/sbin/getty @BAUDRATE@ %I
ExecStart=-/sbin/agetty -s %I @BAUDRATE@
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.