aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 22:48:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 22:59:10 +0000
commitb188bda18690dc1af1cb5d18bb0f3ad40c9a6cc6 (patch)
tree90d609eea31b79670fae7766cba3cd3f31e2eda8
parent844f897710dfee9c59599d09b5c8c906e0d70ac0 (diff)
downloadopenembedded-core-contrib-b188bda18690dc1af1cb5d18bb0f3ad40c9a6cc6.tar.gz
systemd-serialgetty: Update to match version in recent systemd
Whilst debugging other issues I noticed this was out of sync with the code in systemd itself. This brings things back into sync and shouldn't hurt anything. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service7
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
IgnoreOnIsolate=yes
[Service]
-ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102
+ExecStart=-/sbin/agetty --keep-baud %I @BAUDRATE@ $TERM
Type=idle
Restart=always
RestartSec=0
@@ -30,7 +30,4 @@ TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
-
-# Some login implementations ignore SIGTERM, so we send SIGHUP
-# instead, to ensure that login terminates cleanly.
-KillSignal=SIGHUP
+SendSIGHUP=yes