summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-11-12 08:33:26 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-20 14:06:28 +0000
commitd7f057341e5c007783f41247ee054f257a9f2f64 (patch)
treec5f4de5a9557bfc700356e0b22351f3d59e8ccda
parenta899c362be71cb7b94bd318c57702446b017005c (diff)
downloadopenembedded-core-contrib-d7f057341e5c007783f41247ee054f257a9f2f64.tar.gz
openembedded-core-contrib-d7f057341e5c007783f41247ee054f257a9f2f64.tar.bz2
openembedded-core-contrib-d7f057341e5c007783f41247ee054f257a9f2f64.zip
systemd-serialgetty: Disable the carrier detect requirement for serial consoles
This aligns the params of getty with the ones used in Debian. From the getty(8) manpage: ,----[ getty(8) manpage ] | -L, --local-line | | Force the line to be a local line with no need for carrier | detect. This can be useful when you have a locally attached | terminal where the serial line does not set the carrier detect | signal. `---- Reported-by: Craig McQueen <craig.mcqueen@beamcommunications.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
index 6dd335c0bc..182167befe 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
+++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service
@@ -21,7 +21,7 @@ IgnoreOnIsolate=yes
[Service]
Environment="TERM=xterm"
-ExecStart=-/sbin/agetty -8 --keep-baud %I @BAUDRATE@ $TERM
+ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM
Type=idle
Restart=always
RestartSec=0