public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] systemd: Enable spwaning getty's on serial devices
@ 2018-03-22  9:22 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2018-03-22  9:22 UTC (permalink / raw)
  To: development

[-- 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-22  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22  9:22 [PATCH] systemd: Enable spwaning getty's on serial devices Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox