From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] systemd: Enable spwaning getty's on serial devices
Date: Thu, 22 Mar 2018 10:22:50 +0100 [thread overview]
Message-ID: <20180322092250.4217-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
Fixes #11678.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
systemd/systemd.nm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/systemd/systemd.nm b/systemd/systemd.nm
index 037f783dc..aa818c5fa 100644
--- a/systemd/systemd.nm
+++ b/systemd/systemd.nm
@@ -5,7 +5,7 @@
name = systemd
version = 233
-release = 1
+release = 2
maintainer = Stefan Schantl <stefan.schantl(a)ipfire.org>
groups = System/Base
@@ -285,6 +285,7 @@ packages
/usr/bin/systemctl enable \
getty(a).service \
+ serial-getty(a).service \
remote-fs.target \
systemd-readahead-replay.service \
systemd-readahead-collect.service \
@@ -312,6 +313,9 @@ packages
mv /etc/systemd/journald.conf.paknew /etc/systemd/journald.conf
/usr/bin/systemctl restart systemd-journald.service >/dev/null 2>&1 || :
fi
+
+ # Enable spawning getty's on serial devices.
+ systemctl enable serial-getty(a).service >/dev/null 2>&1 || :
end
# Be sure to start the new udev after everything is done.
--
2.14.3
reply other threads:[~2018-03-22 9:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180322092250.4217-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox